operator == method

  1. @override
bool operator ==(
  1. covariant Transaction other
)
override

Compares the current instance with another Transaction instance.

Implementation

@override
bool operator ==(covariant Transaction other) {
  if (identical(this, other)) return true;

  return other.result == result &&
      other.resultDetails == resultDetails &&
      other.amount == amount &&
      other.callerId == callerId &&
      other.nsu == nsu &&
      other.nsuLastSuccesfullMessage == nsuLastSuccesfullMessage &&
      other.cvNumber == cvNumber &&
      other.receiptAlreadyPrinted == receiptAlreadyPrinted &&
      other.type == type &&
      other.inputType == inputType &&
      other.installments == installments &&
      other.gmtDateTime == gmtDateTime &&
      other.nsuLocal == nsuLocal &&
      other.authorizationCode == authorizationCode &&
      other.cardBin == cardBin &&
      other.cardLastDigits == cardLastDigits &&
      other.extraScreensResult == extraScreensResult &&
      other.splitPayloadResponse == splitPayloadResponse &&
      other.cardholderName == cardholderName &&
      other.automationSlip == automationSlip &&
      other.printMerchantPreference == printMerchantPreference &&
      other.orderId == orderId &&
      other.pixPayloadResponse == pixPayloadResponse &&
      other.refundTransactionDate == refundTransactionDate &&
      other.refundCvNumber == refundCvNumber &&
      other.refundOriginTerminal == refundOriginTerminal;
}