toJson method
Serialize to a JSON-compatible map for IPC with the Go engine.
Implementation
Map<String, dynamic> toJson() {
return {
'name': name,
'org': org,
'output_dir': outputDir,
'architecture': architecture.toJson(),
'state_management': stateManagement.toJson(),
'routing': routing.toJson(),
'api': api.toJson(),
'features': features.toJson(),
'build': build.toJson(),
'codegen': codegen.toJson(),
'testing': testing.toJson(),
'ci': ci.toJson(),
};
}