copyWith method
Implementation
Address copyWith({
String? street,
String? code,
String? city,
Country? country,
double? latitude,
double? longitude,
}) {
return Address(
street ?? this.street,
city ?? this.city,
country ?? this.country,
code: code ?? this.code,
latitude: latitude ?? this.latitude,
longitude: longitude ?? this.longitude,
);
}