storagePut method

Future<void> storagePut(
  1. String key,
  2. File value
)

Inserts a file into the disk cache.

Ensures the storage cache is initialized before access.

Implementation

Future<void> storagePut(String key, File value) async {
  await _storageInit();
  await _storageCache.put(key, value);
}