isDirectorySync method

bool isDirectorySync (String path)

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

Implementation

bool isDirectorySync(String path) =>
    typeSync(path) == io.FileSystemEntityType.directory;