setOnGoingChatUser method
This method is used to set the current user's chat page/ chat screen.
Implementation
@override
setOnGoingChatUser(String jid) async {
//ongoingChat
try {
await mirrorFlyMethodChannel
.invokeMethod('setOnGoingChatUser', {"jid": jid});
} on PlatformException catch (e) {
LogMessage.d("Platform Exception =", " $e");
rethrow;
} on Exception catch (error) {
LogMessage.d("Exception ", " $error");
rethrow;
}
}