LocalizedRoadNumber class

Used to represent road number localized to specific language with optional direction and route type information.

Constructors

LocalizedRoadNumber(LocalizedText localizedNumber, RouteType routeType)

Properties

direction CardinalDirection?
Road direction. This property indicates the official directional identifier assigned to highways. Can be null when direction is not assigned to highways. The direction indicates the same information as on the signpost shield: For example, if is "101 West", the directions contains WEST. Note that the official direction is not necessarily the travel direction. For example, US-101 through the city of Sunnyvale is physically located East to West. However, the official direction on sign is North/South.
getter/setter pair
hashCode → int
The hash code for this object.
no setter
localizedNumber LocalizedText
Road number with locale information.
getter/setter pair
routeType RouteType
The route type of the LocalizedRoadNumber.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

getTextWithDirection() → String
Returns the whole road number information including its cardinal direction.
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.