copyWith method
Implementation
DeviceAddress copyWith({
String? streetAddress,
String? city,
String? state,
String? postalCode,
LatLng? coordinates,
String? country,
}) {
return DeviceAddress(
streetAddress: streetAddress ?? this.streetAddress,
city: city ?? this.city,
state: state ?? this.state,
postalCode: postalCode ?? this.postalCode,
coordinates: coordinates ?? this.coordinates,
country: country ?? this.country,
);
}