DrivingFlags class final
Overall characteristics of the route.
- Available extensions
Constructors
- DrivingFlags({required bool blocked, required bool hasFerries, required bool hasTolls, required bool requiresAccessPass, required bool forParking, required bool futureBlocked, required bool deadJam, required bool builtOffline, required bool predicted, required bool hasRuggedRoads, required bool hasFordCrossing, required bool hasVehicleRestrictions, required bool hasUnpavedRoads, required bool hasInPoorConditionRoads, required bool hasRailwayCrossing, required bool hasCheckpoints, required bool scheduledDeparture, required bool hasNonTransactionalTolls, required bool hasTunnels, required bool hasHighways})
-
const
Properties
- blocked → bool
-
Route is blocked.
final
- builtOffline → bool
-
Route was built by using offline data.
final
- deadJam → bool
-
Route has a severe traffic jam.
final
- forParking → bool
-
Route is made for parking.
final
- futureBlocked → bool
-
Route will be blocked soon.
final
- hasCheckpoints → bool
-
Route has checkpoints on it.
final
- hasFerries → bool
-
Route has ferries on it.
final
- hasFordCrossing → bool
-
Route has ford crossing on it.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- hasHighways → bool
-
Route has highways on it.
final
- hasInPoorConditionRoads → bool
-
Route has poor condition roads on it.
final
- hasNonTransactionalTolls → bool
-
Route has conditionally-toll-free toll posts
final
- hasRailwayCrossing → bool
-
Route has railway crossing on it.
final
- hasRuggedRoads → bool
-
Route has rugged roads on it.
final
- hasTolls → bool
-
Route has toll posts, which are always paid.
final
- hasTunnels → bool
-
Route has tunnels on it.
final
- hasUnpavedRoads → bool
-
Route has unpaved roads on it.
final
- hasVehicleRestrictions → bool
-
Route has vehicle restrictions on it.
final
- predicted → bool
-
Predicted optimal route.
final
- requiresAccessPass → bool
-
Route requires special access.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scheduledDeparture → bool
-
Route was requested with custom departure time.
final
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 DrivingFlags other) → bool -
The equality operator.
override