props property

  1. @override
List<Object?> get props
override

Field list backing == and hashCode via EquatableMixin. Preserves the same value semantics across hand-construction and fromJson round-trips since every field is included.

Implementation

@pragma('vm:prefer-inline')
@override
List<Object?> get props => [_model.id, _model.ref];