Lane class

A class that provides information for a lane.

Constructors

Lane.withAll(LaneType type, LaneRecommendationState recommendationState, LaneAccess access, LaneMarkings laneMarkings, List<LaneDirection> directions, List<LaneDirection> directionsOnRoute)
Creates a new instance.
Lane.withDirections(LaneType type, LaneAccess access, LaneMarkings laneMarkings, List<LaneDirection> directions, List<LaneDirection> directionsOnRoute)
Creates a new instance.

Properties

access ↔ LaneAccess
Indicates which vehicle types can access this lane.
getter/setter pair
directions ↔ List<LaneDirection>
Indicates all the lane directions that are available for this lane.
getter/setter pair
directionsOnRoute ↔ List<LaneDirection>
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.
getter/setter pair
hashCode → int
The hash code for this object.
no setter
laneMarkings ↔ LaneMarkings
Indicates the lane markings between the lanes.
getter/setter pair
recommendationState ↔ LaneRecommendationState
Indicates if this lane leads to the upcoming maneuvers.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
type ↔ LaneType
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.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.