isAlphaNumeric method
- String value
Implementation
static bool isAlphaNumeric(String value) {
if (value == null) return false;
var alphaNumRegExp = RegExp(r"^[0-9A-Z]+$", caseSensitive: false);
return alphaNumRegExp.hasMatch(value);
}
static bool isAlphaNumeric(String value) {
if (value == null) return false;
var alphaNumRegExp = RegExp(r"^[0-9A-Z]+$", caseSensitive: false);
return alphaNumRegExp.hasMatch(value);
}