deleteAttachment method

Future<void> deleteAttachment(
  1. Attachment attachment
)

Deletes the given attachment from this feature.

Parameters:

  • attachment — The attachment.

Return Value: A Future that has no return value.

Implementation

Future<void> deleteAttachment(Attachment attachment) {
  final taskHandle = _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_ArcGISFeature_deleteAttachment(
        _handle, attachment._handle, errorHandler);
  });
  return taskHandle.toFuture((_) {});
}