getRecentChatListIncludingArchived method

  1. @override
Future<String> getRecentChatListIncludingArchived()
override

This method is used to get the recent chat list including archived.

Implementation

@override
Future<String> getRecentChatListIncludingArchived() async {
  //filteredRecentChatList
  String? response;
  try {
    response = await mirrorFlyMethodChannel
        .invokeMethod('getRecentChatListIncludingArchived');
    return convertRecentChatListFromJson(response);
  } on PlatformException catch (e) {
    LogMessage.d("Platform Exception =", " $e");
    rethrow;
  } on Exception catch (error) {
    LogMessage.d("Exception ", " $error");
    rethrow;
  }
}