updateAttachment method

Future<void> updateAttachment(
  1. Attachment attachmentInfo, {
  2. required String name,
  3. required String contentType,
  4. required Uint8List data,
})

Updates the given attachment of this feature.

Parameters:

  • attachmentInfo — Information describing the attachment.
  • name — The attachment name.
  • contentType — The type of content.
  • data — The attachment data.

Return Value: A Future that has no return value.