startLiveLocation method
Starts continuous location updates on the native side.
Emits results via the liveLocation method channel callback.
Implementation
@override
Future<void> startLiveLocation({
String provider = 'best',
int intervalMs = 2000,
double distanceMeters = 0,
}) async =>
// Pass all parameters as a map; native side reads them with call.argument()
methodChannel.invokeMethod('startLiveLocation', {
'provider': provider,
'intervalMs': intervalMs,
'distanceMeters': distanceMeters,
});