copyWith method

GeoPointWithElevation copyWith({
  1. Latitude? latitude,
  2. Longitude? longitude,
  3. Elevation? elevation,
})

Implementation

GeoPointWithElevation copyWith({
  Latitude? latitude,
  Longitude? longitude,
  Elevation? elevation
}) {
  return GeoPointWithElevation(
    latitude: latitude ?? this.latitude,
    longitude: longitude ?? this.longitude,
    elevation: elevation ?? this.elevation
  );
}