deleteAttachmentCancelable method

CancelableOperation<void> deleteAttachmentCancelable(
  1. Attachment attachment
)

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

Implementation

CancelableOperation<void> deleteAttachmentCancelable(Attachment attachment) {
  final taskHandle = _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_ArcGISFeature_deleteAttachment(
        _handle, attachment._handle, errorHandler);
  });
  return taskHandle.toCancelableOperation((_) {});
}