max method
Return the severity constant that represents the greatest severity.
Implementation
ErrorSeverity max(ErrorSeverity severity) =>
this.ordinal >= severity.ordinal ? this : severity;
Return the severity constant that represents the greatest severity.
ErrorSeverity max(ErrorSeverity severity) =>
this.ordinal >= severity.ordinal ? this : severity;