WizardConfig class

Resolved configuration collected by the InteractiveWizard.

Constructors

WizardConfig({required String targetPath, required String mode, required bool useAi, bool dryRun = false, bool cleanImports = true, bool generateReport = true, bool visualize = false})
Creates a WizardConfig.

Properties

cleanImports bool
When true, add Riverpod imports and remove legacy ones after migration.
final
dryRun bool
When true, show diffs but do not write any files.
final
generateReport bool
When true, write a migration_report.json summary after the run.
final
hashCode int
The hash code for this object.
no setterinherited
mode String
Migration mode: 'safe', 'assisted', or 'aggressive'.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
targetPath String
Absolute or relative path to the Flutter project to migrate.
final
useAi bool
Whether to request AI-assisted guidance during the migration.
final
visualize bool
When true, write a Mermaid architecture diagram after the run.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Serialises this config to a JSON-compatible map.
toString() String
A string representation of this object.
inherited

Operators

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