isUpperCamelCase method

bool isUpperCamelCase()

Implementation

bool isUpperCamelCase() {
  final camelCaseTester = RegExp(r'^_*(?:\$+_+)*[$?A-Z][$?a-zA-Z\d]*$');
  return camelCaseTester.hasMatch(this);
}