getType method

FileSystemEntityType getType(
  1. String path
)

Gets the type of the entity at the given path.

Implementation

io.FileSystemEntityType getType(String path) {
  return io.FileSystemEntity.typeSync(path);
}