exists method

Future<bool> exists()

Implementation

Future<bool> exists() async {
  if (_localPath == null) {
    throw Exception('Call init() to initialize storage');
  }

  return File(_localPath!).exists();
}