JournalEntry class

Represents a single entry in the migration journal.

Constructors

JournalEntry({required int idx, required String version, required int when, required String tag, required String snapshotId})
Creates an entry for a single generated migration.
const
JournalEntry.fromMap(Map<String, dynamic> data)
Creates an entry from a map.
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
idx → int
The migration index (0-based).
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
snapshotFileName → String
Gets the snapshot filename for this entry.
no setter
snapshotId → String
The snapshot ID for this migration.
final
tag → String
The migration tag/name.
final
version → String
The schema version at this migration.
final
when → int
Timestamp when the migration was created (milliseconds since epoch).
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
Converts the entry to a map.
toString() → String
A string representation of this object.
inherited

Operators

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