NIMChatroomInfo class Null safety

Annotations
  • @JsonSerializable()

Constructors

NIMChatroomInfo({required String roomId, String? name, String? announcement, String? broadcastUrl, String? creator, int validFlag = 0, int onlineUserCount = 0, int mute = 0, Map<String, dynamic>? extension, NIMChatroomQueueModificationLevel queueModificationLevel = NIMChatroomQueueModificationLevel.anyone})
NIMChatroomInfo.fromMap(Map<String, dynamic> json)
factory

Properties

announcement String?
Chat room announcement
final
broadcastUrl String?
Live streaming URL
final
creator String?
Account of a chat room owner
final
extension Map<String, dynamic>?
A third-party the extension field. 4000 characters are allowed
@JsonKey(fromJson: castPlatformMapToDartMap), final
hashCode int
The hash code for this object.
read-only, inherited
isMute bool
Whether the current chat room is muted
read-only
isValid bool
Whether the current chat room is valid or not
read-only
mute int
Mute tags in a chat room
@JsonKey(defaultValue: 0), final
name String?
Chat room name
final
onlineUserCount int
Number of online users
@JsonKey(defaultValue: 0), final
queueModificationLevel NIMChatroomQueueModificationLevel
Queue management permissions. For example, the permission to add keys and messages from others to the queue.
@JsonKey(unknownEnumValue: NIMChatroomQueueModificationLevel.anyone), final
roomId String
Chat room ID
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
validFlag int
Valid tags in a chat room
@JsonKey(defaultValue: 0), final

Methods

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

Operators

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