fetchAttachmentsCancelable method

CancelableOperation<List<Attachment>> fetchAttachmentsCancelable()

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

Implementation

CancelableOperation<List<Attachment>> fetchAttachmentsCancelable() {
  final taskHandle = _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_ArcGISFeature_fetchAttachments(
        _handle, errorHandler);
  });
  return taskHandle
      .toCancelableOperation((element) => element.getValueAsList()!);
}