copyWith method
Implementation
LocationResult copyWith({
double? latitude,
double? longitude,
String? address,
String? city,
String? state,
String? country,
String? postalCode,
AddressSource? addressSource,
}) {
return LocationResult(
latitude: latitude ?? this.latitude,
longitude: longitude ?? this.longitude,
address: address ?? this.address,
city: city ?? this.city,
state: state ?? this.state,
country: country ?? this.country,
postalCode: postalCode ?? this.postalCode,
addressSource: addressSource ?? this.addressSource,
);
}