MigrationCompletedEvent class

Event emitted when a single migration completes.

Inheritance

Constructors

MigrationCompletedEvent({required String migrationId, required String migrationName, required MigrationDirection direction, required Duration duration, DateTime? timestamp})

Properties

direction MigrationDirection
Whether applied or rolled back.
final
duration Duration
Duration of the migration.
final
hashCode int
The hash code for this object.
no setterinherited
migrationId String
The migration ID.
final
migrationName String
Human-readable migration name.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
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