fetchConversations method

Future<CursorResult<Conversation>> fetchConversations({
  1. String? cursor,
  2. int pageSize = 20,
})

Implementation

Future<CursorResult<Conversation>> fetchConversations({
  String? cursor,
  int pageSize = 20,
}) {
  return checkResult(ChatSDKEvent.fetchConversations, () {
    // ignore: deprecated_member_use
    return Client.getInstance.chatManager.fetchConversation(
      cursor: cursor,
      pageSize: pageSize,
    );
  });
}