requestLocationUpdates method
Starts positioning. Use onLocationUpdate, onLocationStatus and onLocationError callbacks to receive location updates, status changes and positioning errors.
Implementation
Future<void> requestLocationUpdates(LocationRequest locationRequest) async {
await methodChannel.invokeMethod(
'requestLocationUpdates', locationRequest.toMap());
}