typical static method
Implementation
static Validator<String> typical({String? error}) => (value, context) {
if (context.resources.typicalPasswordPattern.hasMatch(value)) {
return (true, null);
}
return (false, error ?? context.errors.passwordErrors.typical());
};