Mute class Null safety

The class that contains the information about a muted user

Annotations

Constructors

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

Properties

createdAt DateTime
The date in which the use was muted
final
expires DateTime?
The date in which the mute expires
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
target User
The target user
final
updatedAt DateTime
The date of the last update
final
user User
The user that performed the muting action
final

Methods

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

Operators

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