snapshot method
A copy of every row — what a transaction keeps to undo itself.
Implementation
@override
Map<String, Map<String, dynamic>> snapshot() => {
for (final entry in _rows.entries)
entry.key: Map<String, dynamic>.from(entry.value),
};
A copy of every row — what a transaction keeps to undo itself.
@override
Map<String, Map<String, dynamic>> snapshot() => {
for (final entry in _rows.entries)
entry.key: Map<String, dynamic>.from(entry.value),
};