isDirectory method
Checks if type(path)
returns io.FileSystemEntityType.DIRECTORY
.
Implementation
Future<bool> isDirectory(String path) async =>
await type(path) == io.FileSystemEntityType.directory;
Checks if type(path)
returns io.FileSystemEntityType.DIRECTORY
.
Future<bool> isDirectory(String path) async =>
await type(path) == io.FileSystemEntityType.directory;