createFile method

  1. @override
Future<File> createFile(
  1. String name
)
override

Implementation

@override
Future<File> createFile(String name) async {
  final directory = await _fileDir;
  if (!(await directory.exists())) {
    await createDirectory(_cacheKey);
  }
  return directory.childFile(name);
}