updateRecentChatPinStatus method
This method is used to update the recent chat pin status.
Implementation
@override
updateRecentChatPinStatus(String jid, bool pinStatus) async {
try {
await mirrorFlyMethodChannel.invokeMethod('updateRecentChatPinStatus',
{"jid": jid, "pin_recent_chat": pinStatus});
} on PlatformException catch (e) {
LogMessage.d("Platform Exception =", " $e");
rethrow;
} on Exception catch (error) {
LogMessage.d("Exception ", " $error");
rethrow;
}
}