getRecentChatListHistory static method

Future getRecentChatListHistory({
  1. required bool firstSet,
  2. int limit = 15,
})

Used as a getRecentChatListHistory class for Mirrorfly

  • @property firstSet set true indicates the initial data otherwise next set of data
  • @property limit set the limit of the chat list, default value 15
  • if ChatHistoryEnabled in init then synced from the server used to get Recent chat List from DB

Implementation

static Future<dynamic> getRecentChatListHistory({required bool firstSet, int limit = 15}) {
  return FlyChatFlutterPlatform.instance.getRecentChatListHistory(firstSet: firstSet, limit: limit);
}