registerOutputs method

void registerOutputs([
  1. Map<String, dynamic>? outputs
])
inherited

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));
}