copyWith method

AddressWithGeoLocation copyWith({
  1. Address? address,
  2. GeoCoordinates? location,
})

Implementation

AddressWithGeoLocation copyWith({
  Address? address,
  GeoCoordinates? location,
}) {
  return AddressWithGeoLocation(
    address: address ?? this.address,
    location: location ?? this.location,
  );
}