isFile static method

Future<bool> isFile(
  1. String path
)
override

Whether path refers to a file.

Checks whether type(path) returns FileSystemEntityType.file.

Implementation

static Future<bool> isFile(String path) => Future.value(isFileSync(path));