isPascalCase property

bool get isPascalCase

returns true if this is of PascalCasepattern

Implementation

bool get isPascalCase {
  return startsWith(RegExp('[A-Z]')) && !isSnakeCase;
}