MemoryDepositAdapter constructor
Construct a new MemoryDepositAdapter.
You can pass an optional memory
to start with a certain database.
Implementation
MemoryDepositAdapter({
Map<String, List<Map<String, dynamic>>>? memory,
}) : _memory = memory ?? {} {
_idCounters = {
for (final key in _memory.keys) key: _memory[key]!.length,
};
}