setOutput function Null safety

void setOutput(
  1. String name,
  2. String value
)

Sets an action's output parameter.

Optionally, you can also declare output parameters in an action's metadata file. For more information, see "Metadata syntax for GitHub Actions."

Implementation

void setOutput(String name, String value) =>
    _echo('set-output', value, {'name': name});