directoryExists static method

Future<bool> directoryExists(
  1. String path
)

Check if directory exists

Implementation

static Future<bool> directoryExists(String path) async {
  return await Directory(path).exists();
}