write method
Implementation
void write(String key, final Object value) {
if (isClosed) {
return;
}
_execute(
(functions, transaction, database) {
ErrorHandler(
functions.mdbPut(
transaction,
database.value,
mdbFromUint8List(serialize(key)),
mdbFromUint8List(serialize(value)),
0,
),
);
},
);
}