ErrorType constructor
const
ErrorType(
- String name,
- int ordinal,
- ErrorSeverity severity
Initialize a newly created error type to have the given name
and
severity
.
Implementation
const ErrorType(this.name, this.ordinal, this.severity);