recordId property

  1. @JsonKey.new(includeFromJson: false, includeToJson: false)
String? get recordId

Stable identifier of the source record, if available; null by default.

Subclasses whose data comes from a store with record ids (e.g., health data) can return it, e.g. to avoid duplicates. Not serialized.

Implementation

@JsonKey(includeFromJson: false, includeToJson: false)
String? get recordId => null;