PersistentSchemaVersion class abstract interface

A schema version that can be persisted in a database.

This allows different implementations, like a PRAGMA application_version in SQLite or a dedicated migration table in other systems.

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
schemaVersion → Future<int>
Loads the current schema version from the database.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited
writeSchemaVersion(int version) → Future<void>
Writes the given version into the database.

Operators

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