NIMChatroomNotificationAttachment class Null safety
聊天室通知消息附件
- Inheritance
- Object
- NIMMessageAttachment
- NIMChatroomNotificationAttachment
- Implementers
- Annotations
Constructors
-
NIMChatroomNotificationAttachment({required int type, List<
String> ? targets, List<String> ? targetNicks, String? operator, String? operatorNick, Map<String, dynamic> ? extension}) -
NIMChatroomNotificationAttachment.createChatroomNotificationAttachment(Map<
String, dynamic> map) -
factory
-
NIMChatroomNotificationAttachment.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
extension
→ Map<
String, dynamic> ? -
扩展字段
@JsonKey(fromJson: castPlatformMapToDartMap), final
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- operator → String?
-
操作者
final
- operatorNick → String?
-
操作者昵称
final
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
-
targetNicks
→ List<
String> ? -
被操作的成员昵称列表
final
-
targets
→ List<
String> ? -
被操作的成员
final
- type → int
-
通知类型,参考 NIMChatroomNotificationTypes
final
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