attachments property
List<Attachment>
attachments
Returns the attachments of the message.
Implementation
List<Attachment> get attachments => message.attachments;
Sets the list of attachments for the message.
Implementation
set attachments(List<Attachment> attachments) {
message = message.copyWith(attachments: attachments);
}