ScooterSpecification class

Scooter specific settings.

Constructors

ScooterSpecification()

Properties

allowScooterOnHighway ↔ bool
Specifies whether scooter is allowed on highway or not. True means scooter is allowed to use highways and false means otherwise. Defaults to false. Note that there is a similar parameter in AvoidanceOptions, to disallow highway usage, see RoadFeatures.CONTROLLED_ACCESS_HIGHWAY. As the avoidance options takes precedence, if this parameter is also used, then scooters are not allowed to use highways even if allowHighway is set to true. However, if no alternative route is possible, the calculated route may use highways. In such a case, a SectionNotice will be provided in the related Section to 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.