type method Null safety
override
Finds the type of file system object that a path
points to. Returns
a Future
io.FileSystemEntityType.LINK
will only be returned if followLinks
is
false
, and path
points to a link
If the path
does not point to a file system object or an error occurs
then io.FileSystemEntityType.NOT_FOUND is returned.
Implementation
@override
Future<io.FileSystemEntityType> type(String path,
{bool followLinks = true}) =>
io.FileSystemEntity.type(path, followLinks: followLinks);