copyWith method

Geocoding copyWith({
  1. Coordinate? coordinate,
  2. Address? address,
})

Copy this Geocoding with the given attributes if given not null.

Implementation

Geocoding copyWith({
  Coordinate? coordinate,
  Address? address,
}) {
  return Geocoding(
    coordinate: coordinate ?? this.coordinate,
    address: address ?? this.address,
  );
}