store method
Implementation
Future<void> store(
String url,
CacheEntry entry, {
Encoding encoding = utf8,
}) async {
final int key = url.hashCode;
File contentFile = File("$path/${key % 10}/$key");
contentFile.create(recursive: true).then((_) {
entry.writeTo(contentFile, encoding: encoding);
stats.bytesInFile += entry.length;
});
}