copyWith method
customer address
Implementation
PayMongoAddress copyWith({
String? city,
String? country,
String? line1,
String? line2,
String? postalCode,
String? state,
}) {
return PayMongoAddress(
city: city ?? this.city,
country: country ?? this.country,
line1: line1 ?? this.line1,
line2: line2 ?? this.line2,
postalCode: postalCode ?? this.postalCode,
state: state ?? this.state,
);
}