Lane.withAll constructor

Lane.withAll(
  1. LaneType type,
  2. LaneRecommendationState recommendationState,
  3. LaneAccess access,
  4. LaneMarkings laneMarkings,
  5. List<LaneDirection> directions,
  6. List<LaneDirection> directionsOnRoute,
)

Creates a new instance.

  • type Indicates the properties of this lane. For example, it indicates whether parking is allowed, if it is an acceleration lane, an express lane, or other attributes.
  • recommendationState Indicates if this lane leads to the upcoming maneuvers.
  • access Indicates which vehicle types can access this lane.
  • laneMarkings Indicates the lane markings between the lanes.
  • directions Indicates all the lane directions that are available for this lane.
  • directionsOnRoute Indicates the lane directions that are on the route. Following these directions keeps the driver on the route. This is a subset of Lane.directions.

Implementation

Lane.withAll(this.type, this.recommendationState, this.access, this.laneMarkings, this.directions, this.directionsOnRoute);