copyWith method
Implementation
PayMongoTokenAttributes copyWith({
String? number,
int? expireMonth,
int? expireYear,
String? cvc,
PayMongoBilling? billing,
String? name,
String? email,
String? phone,
}) {
return PayMongoTokenAttributes(
number: number ?? this.number,
expireMonth: expireMonth ?? this.expireMonth,
expireYear: expireYear ?? this.expireYear,
cvc: cvc ?? this.cvc,
billing: billing ?? this.billing,
name: name ?? this.name,
email: email ?? this.email,
phone: phone ?? this.phone,
);
}