MapCrdt constructor
Instantiate a MapCrdt object with empty tables
.
Implementation
MapCrdt(super.tables)
: _recordMaps = {for (final table in tables.toSet()) table: {}},
_changeControllers = {
for (final table in tables.toSet())
table: StreamController.broadcast()
},
assert(tables.isNotEmpty);