SqlMigration class Null safety

Describes a migration using an SQL statement.

SqlMigration will execute the given migration sql via sqflite Database.execute() method.

Inheritance

Constructors

SqlMigration(String sql, {String? reverseSql, MigrationErrorStrategy? errorStrategy, MigrationErrorStrategy? reverseErrorStrategy})
Construct a migration that will execute sql during upgrade (and reverseSql during downgrade, if provided).

Properties

forward Operation
finalinherited
hashCode int
The hash code for this object.
read-onlyinherited
reverse Operation
finalinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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