metadata method
Queries the file system to get information about a file, directory, etc. Note: using this method means that the program can no longer compile for the web.
Implementation
Future<io.Metadata> metadata() => isWindows
? WindowsPath(_string).metadata()
: UnixPath(_string).metadata();