hasPath method Null safety
- String distroName
Check if distro has path in settings @param {String} distroName
Implementation
bool hasPath(String distroName) {
String? distroLocation = prefs.getString('Path_$distroName');
if (distroLocation == null) {
return false;
}
return true;
}