AppleSettings constructor
AppleSettings({
- bool pauseLocationUpdatesAutomatically = false,
- ActivityType activityType = ActivityType.other,
- LocationAccuracy accuracy = LocationAccuracy.best,
- int distanceFilter = 0,
- Duration? timeLimit,
- bool showBackgroundLocationIndicator = false,
- bool allowBackgroundLocationUpdates = true,
Initializes a new AppleSettings instance with default values.
The following default values are used:
- pauseLocationUpdatesAutomatically: false
- activityType: ActivityType.other
Implementation
AppleSettings({
this.pauseLocationUpdatesAutomatically = false,
this.activityType = ActivityType.other,
super.accuracy,
super.distanceFilter,
super.timeLimit,
this.showBackgroundLocationIndicator = false,
this.allowBackgroundLocationUpdates = true,
});