attachments property

List<Attachment> get attachments

Returns the attachments of the message.

Implementation

List<Attachment> get attachments => value.attachments;
set attachments (List<Attachment> attachments)

Sets the list of attachments for the message.

Implementation

set attachments(List<Attachment> attachments) {
  value = value.copyWith(attachments: attachments);
}