#dart:io example
Finding the type of a filesystem object.
Use the FileSystemEntity.type() method to get the type of a file system object. This method is inherited by File, Directory, and Link.
Main library: dart:io
Main element: FileSystemEntity.type
Gist: https://gist.github.com/kasperpeulen/048c53b2e7c779a2573b
DartPad: https://dartpad.dartlang.org/048c53b2e7c779a2573b