NIMChatroomTempMuteAttachment class Null safety

Attachment for messages sent when a chat room is temporarily muted.

Inheritance
Annotations
  • @JsonSerializable()

Constructors

NIMChatroomTempMuteAttachment({required int type, int duration = 0, List<String>? targets, List<String>? targetNicks, String? operator, String? operatorNick, Map<String, dynamic>? extension})
NIMChatroomTempMuteAttachment.fromMap(Map<String, dynamic> map)
factory

Properties

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