SignificantChangeConfig constructor

const SignificantChangeConfig({
  1. double minDisplacementMeters = 500,
  2. bool deferUntilMoved = true,
  3. void onSignificantChange(
    1. Location location
    )?,
  4. bool wakeFromBackground = true,
  5. bool monitorInForeground = false,
  6. Duration? maxUpdateInterval,
})

Creates a significant change configuration.

Implementation

const SignificantChangeConfig({
  this.minDisplacementMeters = 500,
  this.deferUntilMoved = true,
  this.onSignificantChange,
  this.wakeFromBackground = true,
  this.monitorInForeground = false,
  this.maxUpdateInterval,
});