ToggleCommunityAreChatsCollapsed constructor

const ToggleCommunityAreChatsCollapsed({
  1. required int communityId,
  2. required bool areChatsCollapsed,
})

Changes whether all chats of a community are collapsed into one entry in the chat list. If the chats are expanded, then the community is removed from all chat folders

Implementation

const ToggleCommunityAreChatsCollapsed({
  required this.communityId,
  required this.areChatsCollapsed,
});