startCancelable method

CancelableOperation<void> startCancelable()

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

Implementation

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