getSupportedCallingCodes method
Returns all country calling codes the library has metadata for, covering both non-geographical entities (global network calling codes) and those used for geographical entities. This could be used to populate a drop-down box of country calling codes for a phone-number widget, for instance.
returns the country calling codes for every geographical and non-geographical entity the library supports.
Implementation
List<int> getSupportedCallingCodes() {
return _metadataMapLoader.countryCodeToRegionCodeMap.keys
.map((e) => int.parse(e))
.toList();
}