isFileSync method Null safety
- String path
Synchronously checks if typeSync(path) returns FileSystemEntityType.file.
Implementation
static bool isFileSync(String path) =>
(_getTypeSync(_toUtf8Array(path), true) == FileSystemEntityType.file);
Synchronously checks if typeSync(path) returns FileSystemEntityType.file.
static bool isFileSync(String path) =>
(_getTypeSync(_toUtf8Array(path), true) == FileSystemEntityType.file);