AutoMigrationSpec class abstract
The spec of an AutoMigration, like Room's AutoMigrationSpec.
Annotate subclasses with @RenameTable, @RenameColumn, @DeleteTable
or @DeleteColumn to declare renamed and deleted tables and columns.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onPostMigrate(
Database database) → FutureOr< void> - Called within the transaction of the migration after the automatic migration, e.g. for migrating data.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited