copyWith method
Implementation
Customer copyWith({
String? name,
String? email,
String? phone,
String? city,
String? address,
String? zip,
String? ip,
String? redirect,
}) {
return Customer(
name: name ?? this.name,
email: email ?? this.email,
phone: phone ?? this.phone,
city: city ?? this.city,
address: address ?? this.address,
zip: zip ?? this.zip,
ip: ip ?? this.ip,
country: country ?? this.country, lastName: '',
// redirect: redirect ?? this.redirect,
);
}