attachments property

List<AttachmentProperty> attachments

Retrieves the attachments

In case the action is an AlarmAction.audio, one attachment describing the audio is expected.

Implementation

List<AttachmentProperty> get attachments =>
    getProperties<AttachmentProperty>(AttachmentProperty.propertyName)
        .toList();
void attachments=(List<AttachmentProperty> value)

Sets the attachments

Implementation

set attachments(List<AttachmentProperty> value) =>
    setOrRemoveProperties(AttachmentProperty.propertyName, value);