maskValueInLog function

void maskValueInLog(
  1. String value
)

Masking a value prevents a string or variable from being printed in the log.

Each masked word separated by whitespace is replaced with the * character. You can use an environment variable or string for the mask's value.

Implementation

void maskValueInLog(String value) => _echo('add-mask', value);