copyWith method

Implementation

TrafficLinePointEvent copyWith({
  sdk.RoutePoint? point,
  TrafficLinePointEventType? type,
  int? id,
}) {
  return TrafficLinePointEvent(
    point: point ?? this.point,
    type: type ?? this.type,
    id: id ?? this.id,
  );
}