icon property

String get icon

Implementation

String get icon => switch (this) {
      RiskLevel.low => 'ℹ',
      RiskLevel.medium => '🟡',
      RiskLevel.high => '⚠',
      RiskLevel.critical => '🔴',
    };