RegexModel.lettersAndDigits constructor
RegexModel.lettersAndDigits({})
Only letters and digits, plus allowList groups and allow characters:
RegexModel.lettersAndDigits(allowList: [RegexChar.underscore]).
Implementation
factory RegexModel.lettersAndDigits({
List<RegexChar> allowList = const [],
String allow = '',
String? title,
}) => RegexModel.allowOnly(
[RegexChar.letters, RegexChar.digits, ...allowList],
allow: allow,
title: title,
);