props property

  1. @override
List<Object?> props

The list of properties that will be used to determine whether two instances are equal.

Implementation

@override
List<Object?> get props {
  return [
    id,
    locationId,
    transactionId,
    createdAt,
    note,
    amountMoney,
    tipMoney,
    processingFeeMoney,
    customerId,
    cardDetails,
    cashDetails,
    additionalRecipients,
    type,
  ];
}