RouteTokenOptions class
Provides options for routing using a route token in the Google Maps Navigation SDK.
This class is used to specify routing preferences when using the GoogleMapsNavigator.setDestinations method. It allows the integration of a predefined route token, which the SDK can utilize for routing if possible.
Constructors
- RouteTokenOptions.new({required String routeToken, required NavigationTravelMode? travelMode})
- Route token options initializer with token and travel mode.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- routeToken → String
-
Route token.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- travelMode → NavigationTravelMode?
-
Specifies the type of NavigationTravelMode used to determine the
navigation directions.
final
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.
inherited