isFileSync method
Synchronously checks if type(path)
returns
io.FileSystemEntityType.FILE
.
Implementation
bool isFileSync(String path) =>
typeSync(path) == io.FileSystemEntityType.file;
Synchronously checks if type(path)
returns
io.FileSystemEntityType.FILE
.
bool isFileSync(String path) =>
typeSync(path) == io.FileSystemEntityType.file;