GenerationPlan class
Inspectable pre-execution plan detailing all filesystem operations.
Constructors
-
GenerationPlan({required String targetDirectory, required String templateId, required List<
GenerationAction> actions, required Map<String, bool> conditionResults, required Map<String, dynamic> variablesUsed}) -
Creates a GenerationPlan instance.
const
Properties
-
actions
→ List<
GenerationAction> -
List of planned actions.
final
-
conditionResults
→ Map<
String, bool> -
List of evaluated conditions.
final
- directoryCount → int
-
Planned directory count.
no setter
- fileCount → int
-
Planned files count (create or overwrite).
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- skippedCount → int
-
Skipped actions count.
no setter
- targetDirectory → String
-
Target root directory path.
final
- templateId → String
-
Template ID being generated.
final
-
variablesUsed
→ Map<
String, dynamic> -
Evaluated variable map used during rendering.
final
Methods
-
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