icon property
String
get
icon
Implementation
String get icon => switch (severity) {
LintSeverity.error => '❌',
LintSeverity.warning => '⚠',
LintSeverity.info => 'ℹ',
};
String get icon => switch (severity) {
LintSeverity.error => '❌',
LintSeverity.warning => '⚠',
LintSeverity.info => 'ℹ',
};