GenerationResult class

Detailed result of project generation execution.

Constructors

GenerationResult({required bool isSuccess, required bool isDryRun, required String templateId, required String outputDirectory, required List<String> filesCreated, required List<String> directoriesCreated, required List<String> filesSkipped, required List<String> warnings, required List<String> errors, required Duration duration})
Creates a GenerationResult instance.
const

Properties

directoriesCreated → List<String>
List of relative directory paths created.
final
duration → Duration
Total execution duration.
final
errors → List<String>
List of error messages if generation failed.
final
filesCreated → List<String>
List of relative file paths created or overwritten.
final
filesSkipped → List<String>
List of relative paths skipped.
final
hashCode → int
The hash code for this object.
no setterinherited
isDryRun → bool
Whether execution was performed in dry-run preview mode.
final
isSuccess → bool
Whether generation completed successfully.
final
outputDirectory → String
Target output directory.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
templateId → String
Template ID used.
final
totalDirectories → int
Total directories created count.
no setter
totalFiles → int
Total files generated count.
no setter
warnings → List<String>
List of non-fatal warning messages.
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