LanguageCodeValidator constructor
LanguageCodeValidator({})
Constructor for the language code validator.
Implementation
LanguageCodeValidator({
/// {@macro language_code_template}
RegExp? regex,
this.languageCodeWhitelist = const <String>[],
this.languageCodeBlacklist = const <String>[],
super.errorText,
super.checkNullOrEmpty,
}) : regex = regex ?? _languageCode;