changeSettings method
Change settings of the location request.
The accuracy
argument is controlling the precision of the
LocationData
. The interval
and distanceFilter
are controlling how
often a new location is sent through onLocationChanged.
Implementation
@override
Future<bool> changeSettings({
LocationAccuracy? accuracy,
int? interval,
double? distanceFilter,
}) async {
_accuracy = accuracy;
return true;
}