toMap method
Snapshot as an IndexMap. If K extends Enum, call .toJson() on the
result to serialise via EnumMapByName.
Implementation
FieldMap<SerializableField, Object?> toMap() => _type.mapWithData(data);
Snapshot as an IndexMap. If K extends Enum, call .toJson() on the
result to serialise via EnumMapByName.
FieldMap<SerializableField, Object?> toMap() => _type.mapWithData(data);