operator == method
Compares this CreditCardModel with another object for equality.
Implementation
@override
bool operator ==(Object other) {
if (identical(this, other)) return true;
return other is CreditCardModel &&
other.number == number &&
other.expirationMonth == expirationMonth &&
other.expirationYear == expirationYear &&
other.holderName == holderName;
}