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