updateRecentChatPinStatus method
Implementation
@override
updateRecentChatPinStatus(String jid, bool pinStatus) async {
try {
await mirrorFlyMethodChannel.invokeMethod('updateRecentChatPinStatus',
{"jid": jid, "pin_recent_chat": pinStatus});
} on PlatformException catch (e) {
debugPrint("Platform Exception ===> $e");
rethrow;
} on Exception catch (error) {
debugPrint("Exception ==> $error");
rethrow;
}
}