copyWith method
Implementation
PaymentMethodFullData copyWith({
String? brand,
String? holderName,
String? displayNumber,
String? bin,
int? year,
int? month,
String? lastDigits,
String? firstDigits,
String? maskedNumber,
}) {
return PaymentMethodFullData(
brand: brand ?? this.brand,
holderName: holderName ?? this.holderName,
displayNumber: displayNumber ?? this.displayNumber,
bin: bin ?? this.bin,
year: year ?? this.year,
month: month ?? this.month,
lastDigits: lastDigits ?? this.lastDigits,
firstDigits: firstDigits ?? this.firstDigits,
maskedNumber: maskedNumber ?? this.maskedNumber,
);
}