toDatumMap abstract method

  1. @override
Map<String, dynamic> toDatumMap({
  1. MapTarget target = MapTarget.local,
})
override

Converts the entity to a Map<String, dynamic> for persistence.

The optional target parameter dictates which set of fields to include, e.g., excluding heavy local-only fields for remote sync.

Implementation

@override
Map<String, dynamic> toDatumMap({MapTarget target = MapTarget.local});