fseGetTypeSync method Null safety

FileSystemEntityType fseGetTypeSync (
  1. String path,
  2. bool followLinks
)

Returns the FileSystemEntityType for path.

When this override is installed, this function overrides the behavior of FileSystemEntity.typeSync.

Implementation

FileSystemEntityType fseGetTypeSync(String path, bool followLinks) {
  return FileSystemEntity._getTypeSyncHelper(
      utf8.encoder.convert(path), followLinks);
}