write abstract method

FutureOr<void> write(
  1. KeyT key,
  2. EncodedT value,
  3. StorageOptions options
)

Writes value associated with key.

This should create a new entry if key does not exist, or update the existing entry if it does.

Implementation

FutureOr<void> write(KeyT key, EncodedT value, StorageOptions options);