SimpleTemplateMigration class
Concrete inline TemplateMigration implementation for simple declaration.
- Inheritance
-
- Object
- TemplateMigration
- SimpleTemplateMigration
Constructors
-
SimpleTemplateMigration({required String id, required String templateId, required String sourceVersion, required String targetVersion, required String description, List<
TemplateMigrationAction> actions = const []})
Properties
- description → String
-
Human-readable description of what this migration updates.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
Unique identifier for this migration (e.g.
v1_0_0_to_v1_1_0).final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sourceVersion → String
-
Starting version constraint or exact version.
final
- targetVersion → String
-
Target version constraint or exact version.
final
- templateId → String
-
Source template ID this migration applies to.
final
Methods
-
buildActions(
) → List< TemplateMigrationAction> -
Returns the list of actions performed by this migration step.
override
-
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