ensureLowerCase method

  1. @visibleForTesting
dynamic ensureLowerCase(
  1. AtKey atKey
)

Implementation

@visibleForTesting
ensureLowerCase(AtKey atKey) {
  if (upperCaseRegex.hasMatch(atKey.key) ||
      (atKey.namespace != null &&
          upperCaseRegex.hasMatch(atKey.namespace!))) {
    _logger.finer('AtKey: ${atKey.toString()} previously contained upper case'
        ' characters, AtKey has been converted to lower case');
    //AtKey.toString() in the above log will convert the entire key to lower case
  }
}