OnUpgradeCallback class
Fired when the database has finished upgrading from startVersion to endVersion.
All actions are run within a single transaction.
Constructors
- OnUpgradeCallback(dynamic onUpgrade(Database database), {required PredicateExecute predicate})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- onUpgrade → dynamic Function(Database database)
-
database upgrade handle function
final
- predicate → PredicateExecute
-
predicate expression
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
Constants
- databaseInitialVersion → const int