SignificantChangeEvent class

Event emitted when a significant location change is detected.

Constructors

SignificantChangeEvent({required Location location, Location? previousLocation, double? displacementMeters, Duration? timeSinceLastChange, bool wasTimerTriggered = false})
Creates a significant change event.

Properties

displacementMeters double?
Estimated displacement in meters.
final
hashCode int
The hash code for this object.
no setterinherited
location Location
The new location after the significant change.
final
previousLocation Location?
Previous location for reference.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timeSinceLastChange Duration?
Time since last significant change.
final
wasTimerTriggered bool
Whether this was triggered by the max interval timer.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() JsonMap
Converts to a JSON-serializable map.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited