copyWith method

BriefRouteInfoSearchPoints copyWith({
  1. RouteSearchPoint? startPoint,
  2. RouteSearchPoint? finishPoint,
})

Implementation

BriefRouteInfoSearchPoints copyWith({
  RouteSearchPoint? startPoint,
  RouteSearchPoint? finishPoint
}) {
  return BriefRouteInfoSearchPoints(
    startPoint: startPoint ?? this.startPoint,
    finishPoint: finishPoint ?? this.finishPoint
  );
}