updateArchiveUnArchiveChat method
Implementation
@override
Future<bool?> updateArchiveUnArchiveChat(String jid, bool isArchived) async {
bool? res;
try {
res = await mirrorFlyMethodChannel.invokeMethod<bool>('updateArchiveUnArchiveChat', {"jid": jid, "isArchived": isArchived});
return res;
} on PlatformException catch (e) {
LogMessage.d("Platform Exception =", " $e");
rethrow;
} on Exception catch (error) {
LogMessage.d("Exception ", " $error");
rethrow;
}
}