deleteAttachments method
- List<
Attachment> attachments
Deletes the given attachments from this feature.
Parameters:
attachments
— A List of Attachment. Contents of the List are copied.
Return Value: A Future that has no return value.
Implementation
Future<void> deleteAttachments(
List<Attachment> attachments,
) {
final coreAttachments = attachments.toMutableArray(
valueType: _ElementType.attachment,
);
final taskHandle = _withThrowingErrorHandler((errorHandler) {
return runtimecore.RT_ArcGISFeature_deleteAttachments(
_handle,
coreAttachments._handle,
errorHandler,
);
});
return taskHandle.toFuture(
(_) {},
);
}