Checks if type(path) returns FileSystemEntityType.FILE.
Source
static Future<bool> isFile(String path) => _getTypeAsync(path, true)
.then((type) => (type == FileSystemEntityType.FILE._type));
Checks if type(path) returns FileSystemEntityType.FILE.
static Future<bool> isFile(String path) => _getTypeAsync(path, true)
.then((type) => (type == FileSystemEntityType.FILE._type));