removeAttachment method Null safety

void removeAttachment(
  1. AttachmentInfo info
)

Removes the specified attachment info

Implementation

void removeAttachment(AttachmentInfo info) {
  attachments.remove(info);
  removePart(info.part);
}