checkAndCreateDirectory static method
Implementation
static checkAndCreateDirectory(String path) async {
final myDir = new Directory(path);
myDir.exists().then((isThere) {
if (!isThere) {
myDir.create(recursive: true);
}
});
}
static checkAndCreateDirectory(String path) async {
final myDir = new Directory(path);
myDir.exists().then((isThere) {
if (!isThere) {
myDir.create(recursive: true);
}
});
}