tryFullNumber static method

Future<String?> tryFullNumber(
  1. String phone, {
  2. FxCountry? country,
  3. String? region,
})

Returns PhoneParseResult.fullNumber for phone, or null if parsing fails.

Implementation

static Future<String?> tryFullNumber(
  String phone, {
  FxCountry? country,
  String? region,
}) async =>
    (await tryParse(phone, country: country, region: region))?.fullNumber;