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