stop method
Stops the location data source asynchronously.
Return Value: a Future indicating when the LocationDataSource has stopped.
Implementation
Future<void> stop() {
final taskHandle = _withThrowingErrorHandler((errorHandler) {
return runtimecore.RT_LocationDataSource_stopAsync(_handle, errorHandler);
});
return taskHandle.toFuture((_) {});
}