isDirectory static method

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

Whether path refers to a directory.

Checks whether type(path) returns FileSystemEntityType.directory.

Implementation

static Future<bool> isDirectory(String path) => Future.value(isDirectorySync(path));