DiagnosticCode class final

One diagnostic code: its name, severity and what it means.

Annotations
  • @immutable

Constructors

DiagnosticCode(String name, Severity severity, String meaning)
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
meaning → String
One sentence: what it reports.
final
name → String
The code as written in a Diagnostic (unknown_prop).
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
severity → Severity
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited