isAlphaNumeric function

bool isAlphaNumeric(
  1. String str
)

Returns true if str contains only ASCII alphanumeric characters (a–z, A–Z, 0–9).

Implementation

bool isAlphaNumeric(String str) => alphaNumericReg.hasMatch(str);