fetchPublicChatRoomsFromServer method
Implementation
Future<PageResult<ChatRoom>> fetchPublicChatRoomsFromServer({
int pageNum = 1,
int pageSize = 200,
}) {
return checkResult(ChatSDKEvent.fetchPublicChatRoomsFromServer, () {
return Client.getInstance.chatRoomManager.fetchPublicChatRoomsFromServer(
pageNum: pageNum,
pageSize: pageSize,
);
});
}