MigrationStep class
An individual unit of migration work.
Next tag: 4
Constructors
- MigrationStep({String? name, String? sql, String? version})
- MigrationStep.fromJson(Map json_)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- name ↔ String?
-
Descriptive migration label (e.g. "create_accounts_table").
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sql ↔ String?
-
Raw multi-statement SQL script.
getter/setter pair
- version ↔ String?
-
Monotonic 14-digit UTC timestamp (YYYYMMDDHHMMSS), matching the timestamp
prefix of the developer's migration filename.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited