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