makeVoiceCall method

  1. @override
Future<bool> makeVoiceCall(
  1. String userJid
)
override

Implementation

@override
Future<bool> makeVoiceCall(String userJid) async {
  bool val;
  try {
    LogMessage.d('makeVoiceCall :', userJid);
    val = await mirrorFlyCallMethodChannel.invokeMethod('makeVoiceCall', {"user_jid": userJid});
    return val;
  } on PlatformException catch (e) {
    LogMessage.d("Platform Exception =", " $e");
    rethrow;
  } on Exception catch (error) {
    LogMessage.d("Exception ", " $error");
    rethrow;
  }
}