isFile method

  1. @override
bool isFile(
  1. String path
)
override

Checks whether path points to an existing file.

Implementation

@override
bool isFile(String path) {
  return FileSystemEntity.typeSync(path) == FileSystemEntityType.file;
}