getJidFromPhoneNumber method
Implementation
@override
Future<String?> getJidFromPhoneNumber(String mobileNumber, String countryCode) async {
String? jid = "";
try {
jid = await mirrorFlyMethodChannel.invokeMethod<String?>('getJidFromPhoneNumber', {"mobileNumber": mobileNumber, "countryCode": countryCode});
return jid;
} on PlatformException catch (e) {
LogMessage.d("Platform Exception =", " $e");
rethrow;
} on Exception catch (error) {
LogMessage.d("Exception ", " $error");
rethrow;
}
}