NIMChatroomQueueChangeAttachment class Null safety

Inheritance
Annotations
  • @JsonSerializable()

Constructors

NIMChatroomQueueChangeAttachment({required int type, required NIMChatroomQueueChangeType queueChangeType, String? content, String? key, Map<String, String>? contentMap, List<String>? targets, List<String>? targetNicks, String? operator, String? operatorNick, Map<String, dynamic>? extension})
NIMChatroomQueueChangeAttachment.fromMap(Map<String, dynamic> map)
factory

Properties

content String?
final
contentMap Map<String, String>?
当用户掉线或退出聊天室时,返回用户使用 updateQueueEx 接口,并设置 isTransient 参数为true 时,加入或更新的元素
@JsonKey(fromJson: castMapToTypeOfStringString), final
extension Map<String, dynamic>?
获取聊天室通知扩展字段 该字段对应 NIMChatroomEnterRequest.notifyExtension
@JsonKey(fromJson: castPlatformMapToDartMap), final, inherited
hashCode int
The hash code for this object.
read-only, inherited
key String?
final
operator String?
获取该操作的发起者的账号
final, inherited
operatorNick String?
获取该操作的发起者的昵称
final, inherited
queueChangeType NIMChatroomQueueChangeType
队列变更类型 NIMChatroomQueueChangeType
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
targetNicks List<String>?
获取该操作的承受者的昵称列表
final, inherited
targets List<String>?
获取该操作的承受者的账号列表
final, inherited
type int
通知类型,参考 NIMChatroomNotificationTypes
final, inherited

Methods

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

Operators

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