exists method

Future<bool> exists(
  1. String path
)

Checks if the file exists.

Implementation

Future<bool> exists(String path) async =>
    await fileExists(path.replaceSeparator());