getFormattedParseResult function
Future<FormatPhoneResult?>
getFormattedParseResult(
- String phoneNumber,
- CountryWithPhoneCode country, {
- PhoneNumberType phoneNumberType = PhoneNumberType.mobile,
- PhoneNumberFormat phoneNumberFormat = PhoneNumberFormat.international,
Implementation
Future<FormatPhoneResult?> getFormattedParseResult(
final String phoneNumber,
final CountryWithPhoneCode country, {
final PhoneNumberType phoneNumberType = PhoneNumberType.mobile,
final PhoneNumberFormat phoneNumberFormat = PhoneNumberFormat.international,
}) async {
return FlutterLibphonenumberPlatform.instance.getFormattedParseResult(
phoneNumber,
country,
phoneNumberType: phoneNumberType,
phoneNumberFormat: phoneNumberFormat,
);
}