isFile method

Future<bool> isFile()

Returns true if the path exists on disk and is pointing at a regular file. Does not follow links.

Implementation

Future<bool> isFile() => platform.isFile(string);