updateAttachment method
- Attachment attachmentInfo, {
- required String name,
- required String contentType,
- required Uint8List data,
- String keywords = '',
Updates the given attachment, with keywords, of this feature.
Throws an error if the feature layer doesn't support the attachment keywords.
Parameters:
attachmentInfo— Information describing the attachment.name— The attachment name.contentType— The type of the content.data— The attachment data. If null, the existing data will be unchanged.keywords— Attachment keywords. The attachment keywords can be accessed using Attachment.keywords.
Return Value: No value.