cIsAlphabetOnly property

bool get cIsAlphabetOnly

Checks if the string contains only alphabet characters.

Implementation

bool get cIsAlphabetOnly {
  RegExp reg = RegExp(r'^[a-zA-Z]+$');
  return reg.hasMatch(this);
}