Checks if type(path) returns FileSystemEntityType.DIRECTORY.
@override Future<bool> isDirectory(String? path) => _isType(path, FileSystemEntityType.directory);