createWithAction static method

ActionProperty? createWithAction(
  1. AlarmAction? value
)

Implementation

static ActionProperty? createWithAction(AlarmAction? value) {
  if (value == null || value == AlarmAction.other) {
    return null;
  }
  return ActionProperty('$propertyName:${value.name}');
}