isDirectory static method

Future<bool> isDirectory(
  1. String path
)

Checks if type(path) returns FileSystemEntityType.FILE.

Checks if type(path) returns FileSystemEntityType.DIRECTORY.

Implementation

///
/// Checks if type(path) returns FileSystemEntityType.DIRECTORY.
///
static Future<bool> isDirectory(String path) =>
    fileSystemDefault.isDirectory(path);