addAttachment method
Add an attachment to the sending message Use this to add custom type attachments
Note: Only meant to be used from outside the state.
Implementation
void addAttachment(Attachment attachment) {
setState(() => _addAttachments([attachment]));
}