getDefaultTranslator static method
Default RegExp
for each character available for the mask
'A' represents a letter of the alphabet '0' represents a numeric character '@' represents a alphanumeric character '*' represents any character
Implementation
static Map<String, RegExp> getDefaultTranslator() => {
'A': RegExp(r'[A-Za-z]'),
'0': RegExp(r'[0-9]'),
'@': RegExp(r'[A-Za-z0-9]'),
'*': RegExp(r'.*')
};