method
isFile

Future<bool> isFile(
String path
)

Checks if type(path) returns FileSystemEntityType.FILE.