isCamelCase property

bool get isCamelCase

Returns true if the string is a camelCase string.

Implementation

bool get isCamelCase {
  if (contains('_')) return false;
  if (_startsWithLowerCaseRegExp.matchAsPrefix(this) == null) return false;
  return true;
}