matches method

  1. @override
bool matches(
  1. String propertyName
)
override

Checks if a property name matches this convention's pattern.

@param propertyName The property name to check. @returns True if the property name matches this convention's pattern, false otherwise.

Implementation

@override
bool matches(String propertyName) {
  if (propertyName.isEmpty) return false;
  return _lowercasePattern.hasMatch(propertyName);
}