ErrorSeverity constructor

const ErrorSeverity(
  1. String name,
  2. int ordinal,
  3. String machineCode,
  4. String displayName,
)

Initialize a newly created severity with the given names.

Implementation

const ErrorSeverity(
    this.name, this.ordinal, this.machineCode, this.displayName);