fromIsoCode method Null safety

PhoneNumber fromIsoCode(
  1. String isoCode,
  2. String phoneNumber
)

Parses a phoneNumber given an isoCode

The phoneNumber can be of the sort: +33 6 86 57 90 14, 06 86 57 90 14, 6 86 57 90 14

throws a PhoneNumberException if the isoCode is invalid

Implementation

static PhoneNumber fromIsoCode(
  String isoCode,
  String phoneNumber,
) =>
    PhoneParser.fromIsoCode(isoCode, phoneNumber);