NIMChatroomNotificationAttachment class Null safety

Notification attachment

Inheritance
Implementers
Annotations
  • @JsonSerializable()

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>?
Get the extension field for notifications in a chat room NIMChatroomEnterRequest.notifyExtension
@JsonKey(fromJson: castPlatformMapToDartMap), final
hashCode int
The hash code for this object.
read-only, inherited
operator String?
Accounts that perform the operations.
final
operatorNick String?
Nicknames of users that perform the operation
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
targetNicks List<String>?
Nicknames of targets for the operation
final
targets List<String>?
Accounts that are handled by the operation
final
type int
For more information about notification types, see 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