CommunityFullInfo class
Contains full information about a community
- Inheritance
- Available extensions
- Annotations
-
- @immutable
Constructors
-
CommunityFullInfo({required ChatPhoto photo, required List<
CommunityChat> chats, required int administratorCount, required int bannedCount, required int addChatRequestCount, required ChatNotificationSettings notificationSettings}) -
const
Properties
- addChatRequestCount → int
-
addChatRequestCount Number of pending requests for addition of chats to
the community; 0 if the current user isn't an administrator of the
community
final
- administratorCount → int
-
administratorCount Number of privileged users in the community; 0 if the
current user isn't an administrator of the community
final
- bannedCount → int
-
bannedCount Number of users banned from the community; 0 if the current
user isn't an administrator of the community
final
-
chats
→ List<
CommunityChat> -
chats Chats belonging to the community
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- notificationSettings → ChatNotificationSettings
-
notificationSettings Notification settings for the community. Default
notification settings are chosen based on the type of a chat in the
community
final
- photo → ChatPhoto
-
photo Photo of the community
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{ChatPhoto? photo, List< CommunityChat> ? chats, int? administratorCount, int? bannedCount, int? addChatRequestCount, ChatNotificationSettings? notificationSettings}) → CommunityFullInfo -
Available on CommunityFullInfo, provided by the CommunityFullInfoExtensions 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) → CommunityFullInfo?
Constants
- constructor → const String