getRegionInfo static method
getRegionInfo about phone number
Accepts phoneNumber
and isoCode
Returns Future<RegionInfo> of all information available about the phoneNumber
Implementation
static Future<RegionInfo> getRegionInfo(
String phoneNumber, String isoCode) async {
Map<String, dynamic>? response =
await _platform.getRegionInfo(phoneNumber, isoCode);
return RegionInfo.fromJson(response);
}