isAlphaNumeric property
bool
get
isAlphaNumeric
Checks if this string is alphanumeric only.
Example: 'abc123ABC'.isAlphaNumeric -> true.
Implementation
bool get isAlphaNumeric => RegExp(r'^[a-zA-Z0-9]+$').hasMatch(this);