LocationAnomalyConfig class

Configuration for detecting anomalous location jumps.

Constructors

LocationAnomalyConfig({double maxSpeedKph = 200, double maxAccuracyMeters = 100, double minDistanceMeters = 200, Duration minTimeDelta = const Duration(seconds: 5)})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
maxAccuracyMeters double
Ignore locations with accuracy worse than this threshold (meters).
final
maxSpeedKph double
Maximum plausible speed in km/h before an anomaly is flagged.
final
minDistanceMeters double
Minimum distance (meters) before evaluating anomalies.
final
minTimeDelta Duration
Minimum time between samples before evaluating anomalies.
final
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