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