exportImageCancelable method

CancelableOperation<ArcGISImage> exportImageCancelable()

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

Implementation

CancelableOperation<ArcGISImage> exportImageCancelable() {
  final taskHandle = _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_GeoView_exportImageAsync(_handle, errorHandler);
  });
  return taskHandle
      .toCancelableOperation((element) => element.getValueAsArcGISImage()!);
}