name property

String? name

Implementation

String? get name {
  switch (this) {
    case AlarmAction.audio:
      return 'AUDIO';
    case AlarmAction.display:
      return 'DISPLAY';
    case AlarmAction.email:
      return 'EMAIL';
    case AlarmAction.other:
      return null;
  }
}