LaneAttribute class
A class that describes attributes assigned to a specific section of a lane.
It includes lane markings, allowed travel directions, tolling info, access restrictions, and optional lane type.
Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.
Constructors
-
LaneAttribute(int startOffsetInMeters, LaneMarkings markings, LaneAccess access, List<
TollStructure> tollStructures)
Properties
- access ↔ LaneAccess
-
Access characteristics of the lane that identifies the vehicle type(s) allowed to access a lane.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setter
- markings ↔ LaneMarkings
-
Indicate the markings on the road
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- startOffsetInMeters ↔ int
-
The start offset of the lane in meters from the beginning of the segment
getter/setter pair
-
tollStructures
↔ List<
TollStructure> -
List of Toll Structure that identifies the presence of physical toll structures or automatic controls on the lane
at entry and exit points along a toll road which requires payment (cash, electronic, etc.) or ticket
getter/setter pair
- type ↔ LaneType?
-
Specifies the functional and regulatory roles a lane may serve, such as turn, express, HOV, or bike use
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.