Migration class

A discrete (and possibly reversible) database change.

A Migration consists minimally of a forward Operation which serves to perform a discrete step of an upgrade process. A reverse Operation that undoes this change during downgrades may also be specified.

Implementers

Constructors

Migration(Operation forward, {dynamic reverse})
Construct a migration from its constituent forward Operation and optionally reverse.

Properties

forward Operation
final
hashCode int
The hash code for this object.
no setterinherited
reverse Operation
final
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
toString() String
A string representation of this object.
inherited

Operators

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