exists method

Future<bool> exists()

Determines whether file exists on disk.

Implementation

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