action property

AlarmAction action

Retrieves the action in case it is one described by the icalendar standard or AlarmAction.other in other cases.

Compare actionText in case of a non-standard alarm action.

Implementation

AlarmAction get action =>
    getProperty<ActionProperty>(ActionProperty.propertyName)?.action ??
    AlarmAction.other;
void action=(AlarmAction? value)

Sets the action

Implementation

set action(AlarmAction? value) => setOrRemoveProperty(
    ActionProperty.propertyName, ActionProperty.createWithAction(value));