getRecentChatList method

  1. @override
Future getRecentChatList()
override

Implementation

@override
Future<dynamic> getRecentChatList() async {
  //getRecentChats
  dynamic recentResponse;
  try {
    recentResponse = await mirrorFlyMethodChannel.invokeMethod('getRecentChatList');
    LogMessage.d("recent Result ", " $recentResponse");
    return recentResponse;
  } on PlatformException catch (e) {
    LogMessage.d("Platform Exception =", " $e");
    rethrow;
  } on Exception catch (error) {
    LogMessage.d("Exception ", " $error");
    rethrow;
  }
}