DrivingOptions class final
Driving options.
Constructors
- DrivingOptions({double? initialAzimuth, int? routesCount, bool? avoidTolls, bool? avoidUnpaved, bool? avoidPoorConditions, DateTime? departureTime, AnnotationLanguage? annotationLanguage})
-
const
Properties
- annotationLanguage → AnnotationLanguage?
-
A method to set the annotation language. lang The annotation
language.
final
- avoidPoorConditions → bool?
-
The 'avoidPoorConditions' option instructs the router to return
routes that avoid roads in poor conditions when possible.
final
- avoidTolls → bool?
-
The 'avoidTolls' option instructs the router to return routes that
avoid tolls when possible.
final
- avoidUnpaved → bool?
-
The 'avoidUnpaved' option instructs the router to return routes that
avoid unpaved roads when possible.
final
- departureTime → DateTime?
-
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- initialAzimuth → double?
-
Starting location azimuth.
final
- routesCount → int?
-
The number of alternatives.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
covariant DrivingOptions other) → bool -
The equality operator.
override