Mute class

The class that contains the information about a muted user

Annotations

Constructors

Mute({User user, ChannelModel channel, DateTime createdAt, DateTime updatedAt})
Constructor used for json serialization
Mute.fromJson(Map<String, dynamic> json)
Create a new instance from a json
factory

Properties

channel ChannelModel
The target user
@JsonKey(includeIfNull: false, toJson: Serialization.readOnly), final
createdAt DateTime
The date in which the use was muted
@JsonKey(includeIfNull: false, toJson: Serialization.readOnly), final
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
updatedAt DateTime
The date of the last update
@JsonKey(includeIfNull: false, toJson: Serialization.readOnly), final
user User
The user that performed the muting action
@JsonKey(includeIfNull: false, toJson: Serialization.readOnly), final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, dynamic>
Serialize to json
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited