requestLocationUpdates method
Future<void>
requestLocationUpdates(
- LocationListener listener,
- Map<
String, dynamic> locationRequest
Implementation
Future<void> requestLocationUpdates(
LocationListener listener, Map<String, dynamic> locationRequest) async {
if (!identical(locationListener, listener)) {
locationListener = listener;
await methodChannel.invokeMethod(
'requestLocationUpdates', locationRequest);
}
}