PerformancePolicy class
Constructors
- PerformancePolicy({required int routeRequestCooldownMs, required int locationEventMinIntervalMs, required int tripProgressEventMinIntervalMs, required int offlineProgressEventMinIntervalMs, required bool skipDuplicateRouteRequests})
-
const
- PerformancePolicy.aggressive()
-
Preset alinhado ao modo AGGRESSIVE Android.
factory
- PerformancePolicy.balanced()
-
Preset alinhado ao modo BALANCED Android.
factory
- PerformancePolicy.defaults()
-
factory
- PerformancePolicy.off()
-
Preset alinhado ao default Android (sem throttling extra).
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- locationEventMinIntervalMs → int
-
Intervalo mínimo entre eventos de localização (ms)
final
- offlineProgressEventMinIntervalMs → int
-
Intervalo mínimo entre eventos de progresso offline (ms)
final
- routeRequestCooldownMs → int
-
Cooldown mínimo entre requisições de rota (ms)
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- skipDuplicateRouteRequests → bool
-
Ignorar requisições duplicadas de rota
final
- tripProgressEventMinIntervalMs → int
-
Intervalo mínimo entre eventos de progresso de rota (ms)
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited