label property
String
get
label
Human-readable label for terminal and reports.
Implementation
String get label => switch (this) {
Severity.info => 'INFO',
Severity.warning => 'WARNING',
Severity.error => 'ERROR',
Severity.critical => 'CRITICAL',
};