addAttachment method
Adds a new attachment to the message.
Implementation
void addAttachment(Attachment attachment) {
attachments = [...attachments, attachment];
}
Adds a new attachment to the message.
void addAttachment(Attachment attachment) {
attachments = [...attachments, attachment];
}