folderExists method
Implementation
folderExists(String filepath) async {
var file = Directory(filepath);
try {
bool exists = await file.exists();
if (!exists) {
await file.create();
}
} catch (e) {
print(e);
}
}
folderExists(String filepath) async {
var file = Directory(filepath);
try {
bool exists = await file.exists();
if (!exists) {
await file.create();
}
} catch (e) {
print(e);
}
}