CommunityMemberChats class
Contains information about chats in a community, which are joined or owned by a member of the community
- Inheritance
- Available extensions
- Annotations
-
- @immutable
Constructors
-
CommunityMemberChats({required List<
int> ownedChatIds, required List<int> joinedChatIds}) -
const
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
-
joinedChatIds
→ List<
int> -
joinedChatIds Identifiers of the non-owned chats joined by the member
final
-
ownedChatIds
→ List<
int> -
ownedChatIds Identifiers of the chats owned by the member. The chats
will be removed from the community if the member is banned in the
community
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{List< int> ? ownedChatIds, List<int> ? joinedChatIds}) → CommunityMemberChats -
Available on CommunityMemberChats, provided by the CommunityMemberChatsExtensions 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
Static Methods
-
fromJson(
Map< String, dynamic> ? json) → CommunityMemberChats?
Constants
- constructor → const String