ToggleCommunityAreChatsCollapsed constructor
const
ToggleCommunityAreChatsCollapsed({})
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,
});