isExisted method

Future<bool> isExisted(
  1. String filename
)

Check the file with the specified filename

Returns a Future that completes once the file is existed

Implementation

Future<bool> isExisted(String filename) async {
  final file = await _file(filename);
  return file.exists();
}