isDirectorySync method

bool isDirectorySync(
  1. String path
)

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

Implementation

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