matches method
Implementation
bool matches(String? country) {
final countries = _countries;
if (countries == null) return true;
final code = country?.trim().toUpperCase();
final listed = code != null &&
code.isNotEmpty &&
countries.any((listed) => listed.toUpperCase() == code);
return _inside ? listed : !listed;
}