SignificantChangeEvent constructor

SignificantChangeEvent({
  1. required Location location,
  2. Location? previousLocation,
  3. double? displacementMeters,
  4. Duration? timeSinceLastChange,
  5. bool wasTimerTriggered = false,
})

Creates a significant change event.

Implementation

SignificantChangeEvent({
  required this.location,
  this.previousLocation,
  this.displacementMeters,
  this.timeSinceLastChange,
  this.wasTimerTriggered = false,
});