isFileSync static method
Synchronously checks whether path
refers to a file.
Checks whether typeSync(path)
returns
FileSystemEntityType.file.
Implementation
static bool isFileSync(String path) => typeSync(path) == FileSystemEntityType.file;
Synchronously checks whether path
refers to a file.
Checks whether typeSync(path)
returns
FileSystemEntityType.file.
static bool isFileSync(String path) => typeSync(path) == FileSystemEntityType.file;