color property
Fetch the color based on the severity
Implementation
Color? get color => switch (this) {
Severity.info => Colors.blueGrey,
Severity.warning => Colors.orange,
Severity.error => Colors.red,
Severity.critical => Colors.red.shade900,
};