TlLocationTuning class
Location-filter thresholds applied by transport-mode auto-tuning (#301).
Declared last on purpose: pigeon assigns codec type IDs by declaration order, so inserting a class higher up would renumber every type after it and break any app that resolves a plugin and the platform interface at different versions.
Constructors
- TlLocationTuning({required double distanceFilter, required int trackingAccuracyThreshold, required int odometerAccuracyThreshold, required int maxImpliedSpeed})
Properties
- distanceFilter ↔ double
-
Minimum movement (m) between recorded fixes.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setteroverride
- maxImpliedSpeed ↔ int
-
Fixes implying a speed above this (m/s) are rejected.
getter/setter pair
- odometerAccuracyThreshold ↔ int
-
Only fixes at least this accurate (m) contribute to the odometer.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- trackingAccuracyThreshold ↔ int
-
Fixes worse than this accuracy (m) are rejected.
getter/setter pair
Methods
-
encode(
) → Object -
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.
override
Static Methods
-
decode(
Object result) → TlLocationTuning