GenerateMigrationPlanTool class

Tool that generates an ordered, actionable migration plan for one or more package upgrades in a Flutter/Dart project.

The plan includes:

  • Ordered migration steps (pubspec changes, code changes, commands)
  • Effort estimation based on impact analysis
  • Prerequisites and warnings

This tool orchestrates PubspecParser, AnalyzeImpactTool, and VersionResolver to produce a comprehensive migration strategy.

Constructors

GenerateMigrationPlanTool(PubspecParser _pubspecParser, VersionResolver _versionResolver, AnalyzeImpactTool _analyzeImpact)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

execute(Map<String, dynamic> args) Future<Map<String, dynamic>>
Execute the generate_migration_plan tool.
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