BlocklistRecordAddedEvent class

Event of a BlocklistRecord being added to blocklist of the authenticated MyUser.

Inheritance

Constructors

BlocklistRecordAddedEvent(DtoUser user, PreciseDateTime at, BlocklistReason? reason)
const

Properties

at → PreciseDateTime
PreciseDateTime when this BlocklistEvent happened.
finalinherited
hashCode → int
The hash code for this object.
no setteroverride
kind → BlocklistEventKind
Returns BlocklistEventKind of this BlocklistEvent.
no setteroverride
reason → BlocklistReason?
Reason of why the User was blocked.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
user → DtoUser
DtoUser this BlocklistEvent is about.
finalinherited

Methods

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

Operators

operator ==(Object other) → bool
The equality operator.
override