props property

  1. @override
List<Object?> get props

Represents the properties used for identifying the uniqueness of the object.

Useful when comparing two instances of the class.

Implementation

@override
List<Object?> get props => [id, currency, code, vatRates];