registerOutputs method
Registers component outputs with the engine.
Call this after child resources and output values have been initialized. These values become the component outputs visible to parent components and stack exports that reference this component.
Implementation
void registerOutputs([Map<String, dynamic>? outputs]) {
final resolvedOutputs = outputs ?? _collectOutputs();
registerOutputsOutput(Output.create(resolvedOutputs));
}