CountryValidator constructor
CountryValidator({})
Constructor for the country name validator.
Implementation
CountryValidator({
List<String>? countryWhitelist,
List<String>? countryBlacklist,
/// {@macro base_validator_error_text}
super.errorText,
/// {@macro base_validator_null_check}
super.checkNullOrEmpty,
}) : countryWhitelist = countryWhitelist ?? <String>[],
countryBlacklist = countryBlacklist ?? <String>[];