SchemaVerifier class Null safety
Constructors
- SchemaVerifier(SchemaInstantiationHelper helper)
-
factory
Properties
- hashCode → int
-
The hash code for this object.
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
migrateAndValidate(
GeneratedDatabase db, int expectedVersion, {bool validateDropped = false}) → Future< void> - Runs a schema migration and verifies that it transforms the database into a correct state.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
schemaAt(
int version) → Future< InitializedSchema> -
Creates a new database and instantiates the schema with the given
version
. -
startAt(
int version) → Future< DatabaseConnection> -
Creates a
DatabaseConnection
that contains empty tables created for the known schemaversion
. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited