errorCodeByUniqueName function

DiagnosticCode? errorCodeByUniqueName(
  1. String uniqueName
)

Return the DiagnosticCode with the given uniqueName, or null if not found.

Implementation

DiagnosticCode? errorCodeByUniqueName(String uniqueName) {
  return _uniqueNameToCodeMap[uniqueName];
}