MigrationStrategy class

A class with migration options for isolated boxes.

Constructors

MigrationStrategy.migrate(VoidCallback initAdapters)
Migrates the data from the old box to the new one.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
initAdapters VoidCallback?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shouldMigrate bool
Returns whether the box should be migrated.
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

Operators

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

Static Properties

deleteAndCreate MigrationStrategy
Deletes the box and creates a new one.
getter/setter pair