write abstract method

Future<void> write(
  1. List<CacheStoreEntry> puts,
  2. List<Uint8List> deletes
)

Stores the value of each of puts under its key, replacing the value that was there, and removes the keys of deletes (removing a key that does not exist does nothing), all of them or none, durably once the future completes. A key appears at most once in the two lists together.

When the future throws, the SDK takes it that nothing was written.

Implementation

Future<void> write(List<CacheStoreEntry> puts, List<Uint8List> deletes);