formatPhoneNumber static method

Future<FormatPhoneResult?> formatPhoneNumber(
  1. String phoneNumber,
  2. Country country
)

Implementation

static Future<FormatPhoneResult?> formatPhoneNumber(
    String phoneNumber, Country country) {
  return libphone.getFormattedParseResult(phoneNumber, country);
}