checkFolderExistenceAsync static method
Implementation
static Future<bool> checkFolderExistenceAsync({
required String folderPath,
}) async {
final Directory myDirectory = Directory(folderPath);
final bool exists = await myDirectory.exists();
if (exists) {
return true;
} else {
return false;
}
}