ToggleCommunityAreChatsCollapsed class

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 Returns Ok

Inheritance
Available extensions
Annotations
  • @immutable

Constructors

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

Properties

areChatsCollapsed → bool
areChatsCollapsed Pass true to collapse all chats of the community into one entry in the chat list
final
communityId → int
communityId Identifier of the community
final
hashCode → int
The hash code for this object.
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({int? communityId, bool? areChatsCollapsed}) → ToggleCommunityAreChatsCollapsed

Available on ToggleCommunityAreChatsCollapsed, provided by the ToggleCommunityAreChatsCollapsedExtensions extension

getConstructor() → String
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
override
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
override

Constants

constructor → const String