isSubTld static method
Checks if the given string subTld
is a subTld
Implementation
static bool isSubTld(String tld, String? subTld) {
var subTLDs = suffixList[tld];
if (subTLDs == null) {
return false;
}
if (subTLDs.contains(subTld)) {
return true;
}
return false;
}