getArchivedChatsFromServer method

  1. @override
dynamic getArchivedChatsFromServer()
override

This method is used to get the Archived chat list from server.

Implementation

@override
getArchivedChatsFromServer() async {
  try {
    await mirrorFlyMethodChannel.invokeMethod('getArchivedChatsFromServer');
  } on PlatformException catch (e) {
    LogMessage.d("Platform Exception =", " $e");
    rethrow;
  } on Exception catch (error) {
    LogMessage.d("Exception ", " $error");
    rethrow;
  }
}