EMChatRoom class Null safety

The chat room instance class.

Note To get the correct value, ensure that you call {@ link EMChatRoomManager#fetchChatRoomInfoFromServer(String)} before calling this method.

Properties

adminList List<String>?
Gets the chat room admin list. [...]
final
announcement String?
Gets the chat room announcement in the chat room from the memory. [...]
final
blockList List<String>?
Gets the chat room block list. [...]
final
description String?
Gets the chat room description from the memory. [...]
final
hashCode int
The hash code for this object. [...]
read-only, inherited
isAllMemberMuted bool?
Checks whether all members are muted in the chat room from the memory. [...]
final
maxUsers int?
Gets the maximum number of members in the chat room from the memory, which is set/specified when the chat room is created. [...]
final
memberCount int?
Gets the number of online members from the memory. [...]
final
memberList List<String>?
Gets the member list. [...]
final
muteList List<String>?
Gets the mute list of the chat room. [...]
final
name String?
Gets the chat room name from the memory. [...]
final
owner String?
Gets the chat room owner ID. If this method returns an empty string, the SDK fails to get chat room details. [...]
final
permissionType EMChatRoomPermissionType
Gets the current user's role in the chat room. The role types: {@link EMChatRoomPermissionType}. [...]
final
roomId String
Gets the chat room ID. [...]
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
override

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited