label property

String get label

Display label for the signal badge.

Implementation

String get label => switch (this) {
  DecisionSignal.green => 'OK',
  DecisionSignal.yellow => 'WARN',
  DecisionSignal.red => 'ALERT',
};