isFileSync method

bool isFileSync(
  1. String path
)
inherited

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

Implementation

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