isAlphaNumeric property
bool
get
isAlphaNumeric
isAlphaNumeric: checks if the string is alpha numeric
Implementation
bool get isAlphaNumeric {
if (isNull) return false;
RegExp alphaNumeric = RegExp(r'^[a-zA-Z0-9]+$');
return alphaNumeric.hasMatch(this!);
}