ModelTrashedEvent class

Event emitted when a soft-deleted model is trashed.

Inheritance

Constructors

ModelTrashedEvent({required Type modelType, required String tableName, required dynamic model, DateTime? timestamp})

Properties

hashCode int
The hash code for this object.
no setterinherited
model → dynamic
The trashed model instance.
final
modelType Type
The runtime type of the model.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tableName String
The database table name.
finalinherited
timestamp DateTime
When the event occurred.
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.
inherited