setOnGoingChatUser method

  1. @override
dynamic setOnGoingChatUser(
  1. String jid
)
override

Implementation

@override
setOnGoingChatUser(String jid) async {
  //ongoingChat
  try {
    await mirrorFlyMethodChannel
        .invokeMethod('setOnGoingChatUser', {"jid": jid});
  } on PlatformException catch (e) {
    debugPrint("Platform Exception ===> $e");
    rethrow;
  } on Exception catch (error) {
    debugPrint("Exception ==> $error");
    rethrow;
  }
}