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?
聊天室公告
final
broadcastUrl String?
视频直播拉流地址
final
creator String?
聊天室创建者账号
final
extension Map<String, dynamic>?
第三方扩展字段, 长度4k
@JsonKey(fromJson: castPlatformMapToDartMap), final
hashCode int
The hash code for this object.
read-only, inherited
isMute bool
当前聊天室是否禁言
read-only
isValid bool
当前聊天室是否有效
read-only
mute int
聊天室禁言标记
@JsonKey(defaultValue: 0), final
name String?
聊天室名称
final
onlineUserCount int
当前在线用户数量,ios 暂不支持
@JsonKey(defaultValue: 0), final
queueModificationLevel NIMChatroomQueueModificationLevel
队列管理权限,如是否有权限提交他人key和信息到队列中
@JsonKey(unknownEnumValue: NIMChatroomQueueModificationLevel.anyone), final
roomId String
roomId
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
validFlag int
聊天室有效标记
@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