copyWith method

GeoCoordinates copyWith({
  1. double? longitude,
  2. double? latitude,
  3. double? altitude,
  4. double? timestamp,
})

Implementation

GeoCoordinates copyWith({
  double? longitude,
  double? latitude,
  double? altitude,
  double? timestamp,
}) {
  return GeoCoordinates(
    longitude: longitude ?? this.longitude,
    latitude: latitude ?? this.latitude,
    altitude: altitude ?? this.altitude,
    timestamp: timestamp ?? this.timestamp,
  );
}