copyWith method

SegmentGeoPoint copyWith({
  1. GeoPoint? point,
  2. Bearing? bearing,
})

Implementation

SegmentGeoPoint copyWith({
  GeoPoint? point,
  Bearing? bearing
}) {
  return SegmentGeoPoint(
    point: point ?? this.point,
    bearing: bearing ?? this.bearing
  );
}