getFile static method

Future<File> getFile(
  1. String filename
)

Implementation

static Future<File> getFile(String filename) async {
  final dir = (await getApplicationCacheDirectory()).path;
  return File('$dir/$filename');
}