isAlphabetic property
bool
get
isAlphabetic
isAlphabetic: checks if the string is alphabetic
Implementation
bool get isAlphabetic {
if (isNull) return false;
RegExp alphabetic = RegExp(r'^[a-zA-Z]+$');
return alphabetic.hasMatch(this!);
}