@@ -74,7 +74,7 @@ class AndroidSettings extends LocationSettings {
74
74
final bool useMSLAltitude;
75
75
76
76
/// Enables filtering for inaccurate GPS positions that might cause random GPS drift.
77
- ///
77
+ ///
78
78
/// When enabled, the plugin will filter out location updates that are physically implausible
79
79
/// based on speed, distance jumps, and accuracy thresholds. This is useful for applications
80
80
/// that require smooth location tracking without sudden jumps that can occur due to GPS
@@ -90,13 +90,12 @@ class AndroidSettings extends LocationSettings {
90
90
91
91
@override
92
92
Map <String , dynamic > toJson () {
93
- return super .toJson ()
94
- ..addAll ({
95
- 'forceLocationManager' : forceLocationManager,
96
- 'timeInterval' : intervalDuration? .inMilliseconds,
97
- 'foregroundNotificationConfig' : foregroundNotificationConfig? .toJson (),
98
- 'useMSLAltitude' : useMSLAltitude,
99
- 'enableAccuracyFilter' : enableAccuracyFilter,
100
- });
93
+ return super .toJson ()..addAll ({
94
+ 'forceLocationManager' : forceLocationManager,
95
+ 'timeInterval' : intervalDuration? .inMilliseconds,
96
+ 'foregroundNotificationConfig' : foregroundNotificationConfig? .toJson (),
97
+ 'useMSLAltitude' : useMSLAltitude,
98
+ 'enableAccuracyFilter' : enableAccuracyFilter,
99
+ });
101
100
}
102
101
}
0 commit comments