isPascal static method

bool isPascal(
  1. String input
)

Implementation

static bool isPascal(String input) {
  return RegExp(r'^[A-Z][a-z0-9]*(?:[A-Z][a-z0-9]*)*$').hasMatch(input);
}