CommandProcessor class

Processes Json2Dart commands and coordinates the generation workflow

This processor handles command line argument parsing, configuration loading, and delegates to the GenerationOrchestrator for actual processing.

Constructors

CommandProcessor({required GenerationOrchestrator orchestrator, required Json2DartConfigManager configManager, required FileOperationService fileService, bool verbose = false})

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({required ArgResults? argResults, required String projectName}) Future<bool>
Executes the Json2Dart command with the given arguments
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