isFileSync method

bool isFileSync (String path)

Synchronously checks if type(path) returns io.FileSystemEntityType.FILE.

Implementation

bool isFileSync(String path) =>
    typeSync(path) == io.FileSystemEntityType.file;