phone_numbers_parser icon indicating copy to clipboard operation
phone_numbers_parser copied to clipboard

add dial code

Open Hamza-Shewa opened this issue 1 year ago • 1 comments
trafficstars

  • added dial code to isoCode.
  • added function to retrieve IsoCode from dial code.

Hamza-Shewa avatar May 18 '24 16:05 Hamza-Shewa

I'm not sure about this, This is not an isocode anymore and it's not clear what use case this solves.

Currently you can use:

metadataByIsoCode[isoCode]?.countryCode

maybe an api could be

isoCode.toDialCode() or DialCode.fromIsoCode()

cedvdb avatar May 21 '24 21:05 cedvdb