getCallLink method

  1. @override
Future<String> getCallLink()
override

This method is used to get the ongoing call link.

Implementation

@override
Future<String> getCallLink() async {
  String? val = FlyConstants.empty;
  try {
    val =
        await mirrorFlyCallMethodChannel.invokeMethod<String>('getCallLink');
    LogMessage.d('getCallLink', ' $val');
    return val ?? FlyConstants.empty;
  } on PlatformException catch (e) {
    LogMessage.d("Platform Exception =", " $e");
    return FlyConstants.empty;
  } on Exception catch (e) {
    LogMessage.d("Exception ", " $e");
    return FlyConstants.empty;
  }
}