toMap method
Snapshot as an IndexMap. If K extends Enum, call .toJson() on the
result to serialise via EnumMapByName.
Implementation
@override
Map<K, int> toMap() => _BitStruct(keys, BitData.constant(bits) as BitStruct<K>);
Snapshot as an IndexMap. If K extends Enum, call .toJson() on the
result to serialise via EnumMapByName.
@override
Map<K, int> toMap() => _BitStruct(keys, BitData.constant(bits) as BitStruct<K>);