isFile method
- String path
Checks if type(path)
returns io.FileSystemEntityType.FILE
.
Implementation
Future<bool> isFile(String path) async =>
await type(path) == io.FileSystemEntityType.file;
Checks if type(path)
returns io.FileSystemEntityType.FILE
.
Future<bool> isFile(String path) async =>
await type(path) == io.FileSystemEntityType.file;