reset property

bool? reset
getter/setter pair

Forces BackgroundGeolocation.ready to apply supplied Config with each application launch.

Optionally, you can specify reset: true to BackgroundGeolocation.ready. This will essentially force the supplied Config to be applied with each launch of your application.

Example

BackgroundGeolocation.ready(Config(
  reset: true,  // <-- set true to ALWAYS apply supplied config; not just at first launch.
  distanceFilter: 50
)).then((State state) {
  print('Ready with reset: true: ${state.distanceFilter}');
});

Implementation

bool? reset;