isAlphanumeric function

bool isAlphanumeric(
  1. String str
)

check if the string str contains only letters and numbers

Implementation

bool isAlphanumeric(String str) {
  return _alphanumeric.hasMatch(str);
}