exists method

Future<bool> exists(
  1. String filename
)

check the file exists in storage

Storage().exists('images/avatar/sample.jpeg');

Implementation

Future<bool> exists(String filename) async {
  return _driver.exists(filename);
}