ScooterSpecification class
Scooter specific settings.
Constructors
Properties
- allowScooterOnHighway ↔ bool
-
Specifies whether scooter is allowed on highway or not.
Truemeans scooter is allowed to use highways andfalsemeans otherwise. Defaults tofalse. Note that there is a similar parameter inAvoidanceOptions, to disallow highway usage, seeRoadFeatures.CONTROLLED_ACCESS_HIGHWAY. As the avoidance options takes precedence, if this parameter is also used, then scooters are not allowed to use highways even ifallowHighwayis set totrue. However, if no alternative route is possible, the calculated route may use highways. In such a case, aSectionNoticewill be provided in the relatedSectionto indicate that the highway usage restriction is violated on this route. A few examples:getter/setter pair - hashCode → int
-
The hash code for this object.
no setter
- 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.
inherited
Operators
-
operator ==(
Object other) → bool - The equality operator.