isChineseMainland method
Is Chinese Mainland.
Implementation
bool isChineseMainland(PhoneNumber phone) {
return phone.countryCode == 86 && phone.nationalNumber.trim().length == 11;
}
Is Chinese Mainland.
bool isChineseMainland(PhoneNumber phone) {
return phone.countryCode == 86 && phone.nationalNumber.trim().length == 11;
}