Migrator class abstract

Provides an interface for migrating between schema versions.

A migrator implementation is provided as a parameter to the DataSchema.migrate method.

Constructors

Migrator()

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

addField(DataBean bean, DataField field, dynamic initialValue) Future<void>
addLayout(DataBean bean) Future<void>
customSql(String sql) Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeField(DataBean bean, String fieldName) Future<void>
removeLayout(String name) Future<void>
toString() String
A string representation of this object.
inherited

Operators

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