removeAttachmentAt method
Removes the attachment at the given index
.
Implementation
void removeAttachmentAt(int index) {
attachments = [...attachments]..removeAt(index);
}
Removes the attachment at the given index
.
void removeAttachmentAt(int index) {
attachments = [...attachments]..removeAt(index);
}