props property

  1. @override
List<Object?> get props

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

@override
List<Object?> get props => [id, ref];