RouteLabel class

The main street name or road number for a route.

A route can contain more than one such street name or route number. To include route labels in the route response, enable it using RouteOptions.enableRouteLabels.

Constructors

RouteLabel(LocalizedText name)

Properties

hashCode → int
The hash code for this object.
no setter
name LocalizedText
The street name or route number for the route label.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
type RouteLabelType
The type of the route label, describing if the route label contains a street name or a route number.
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.