put abstract method

Future<int?> put(
  1. K key,
  2. V value, {
  3. bool skipCommit = false,
})

Associates value with key. If a mapping already exists, the old value is replaced.

Returns the commit-log sequence number assigned to this write, or null if no sequence number was produced (when skipCommit is true, or when this backend does not maintain a commit log).

Throws a DataStoreException if the underlying store fails.

Implementation

Future<int?> put(K key, V value, {bool skipCommit = false});