setOutput function
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),
);
}