callingCodes method

List<String> callingCodes({
  1. double? lon,
  2. double? lat,
  3. dynamic query,
})

Returns the full international calling codes for phone numbers in the region matching query, if any.

Implementation

List<String> callingCodes({double? lon, double? lat, dynamic query}) {
  final region = smallestOrMatchingRegion(lon: lon, lat: lat, query: query);
  return region?.callingCodes ?? [];
}