QrAlphaNumeric.fromString constructor
QrAlphaNumeric.fromString(
- String alphaNumeric
Implementation
factory QrAlphaNumeric.fromString(String alphaNumeric) {
if (!alphaNumeric.contains(validationRegex)) {
throw ArgumentError('String does not contain valid ALPHA-NUM '
'character set: $alphaNumeric');
}
return QrAlphaNumeric._(alphaNumeric);
}