setOutput function

void setOutput({
  1. required String name,
  2. required Object value,
})

Sets the value of an output.

Implementation

void setOutput({required String name, required Object value}) {
  output.writeln('');

  issueCommand(
    'set-output',
    {'name': name},
    value is String ? value : jsonEncode(value),
  );
}