put method

Future<void> put(
  1. Uint8List key,
  2. Bytes document
)

Inserts or replaces one key.

Implementation

Future<void> put(Uint8List key, Bytes document) async {
  await putMany(<({Uint8List key, Bytes document})>[
    (key: key, document: document),
  ]);
}