exists method

Future<bool> exists(
  1. String path
)

Whether a file exists at path.

Implementation

Future<bool> exists(String path) =>
    _run(path, () => driver.fileExists(_resolve(path)));