stopCancelable method

CancelableOperation<void> stopCancelable()

Cancelable version of stop. See that method for more information.

Implementation

CancelableOperation<void> stopCancelable() {
  final taskHandle = _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_LocationDataSource_stopAsync(_handle, errorHandler);
  });
  return taskHandle.toCancelableOperation((_) {});
}