EMGroup class

群组信息类,包含内存中的群组相关信息。

Note 如需最新数据,需先从服务器获取:EMGroupManager.fetchGroupInfoFromServer。

Constructors

EMGroup.fromJson(Map map)
factory

Properties

adminList → List<String>?
从内存中获取群组管理员列表。
final
announcement → String?
从内存中获取群公告内容。
final
blockList → List<String>?
从内存中获取群组黑名单。
final
description → String?
从内存中获取群组描述。
final
extension → String?
群组ext
final
groupId → String
群组 ID。
final
hashCode → int
The hash code for this object.
no setterinherited
isAllMemberMuted → bool?
从内存中获取是否已经全员禁言。
final
isDisabled → bool
组是否被禁用。从数据库读取或提取漫游消息的默认值是false。
final
isMemberAllowToInvite → bool?
从内存中获取是否允许成员邀请他人进群。
final
isMemberOnly → bool?
从内存中获取群组类型:成员是否能自由加入,还是需要申请或者被邀请。
final
maxUserCount → int?
从内存中获取群组最大人数限制,创建时确定。 Note 如需最新数据,需先从服务器获取: EMGroupManager.fetchGroupInfoFromServer。
final
memberCount → int?
从内存中获取群组成员数量。
final
memberList → List<String>?
从内存中获取群组成员列表。
final
messageBlocked → bool?
从内存中获取消息是否被屏蔽。
final
muteList → List<String>?
从内存中获取群组禁言名单。
final
name → String?
从内存中获取群组名称。
final
owner → String?
从内存中获取群主用户 ID。
final
permissionType → EMGroupPermissionType?
从内存中获取当前用户在群组中的角色。
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
settings → EMGroupOptions?
no setter

Methods

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

Operators

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