isAlpha method
Check text contains only letters
Implementation
bool isAlpha() {
if (this == null) {
return false;
}
return RegExp(kOnlyLettersPtrn).hasMatch(this!);
}
Check text contains only letters
bool isAlpha() {
if (this == null) {
return false;
}
return RegExp(kOnlyLettersPtrn).hasMatch(this!);
}