DrivingRouterType enum

Driving router type.

Inheritance
Available extensions

Values

Online → const DrivingRouterType

Online driving router. Always tries to use online router even if network is not available.

Offline → const DrivingRouterType

Offline driving router. Always tries to use offline router even if network is available.

Combined → const DrivingRouterType

Combined driving router. Decision to use online or offline router is based on internal timeout. If server manages to respond within given time, then online router result is returned. Otherwise uses offline router. Will combine online and offline router result in single session (hence the name). Timeout logic is applied on each resubmit until first response from offline router is returned to the listener. After that timeout is reduced to zero for all following resubmits.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
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.
inherited

Constants

values → const List<DrivingRouterType>
A constant List of the values in this enum, in order of their declaration.