hint method

void hint(
  1. String message, {
  2. String? group,
  3. bool label = true,
})

Implementation

void hint(String message, {String? group, bool label = true}) {
  if (group != null) {
    if (label) {
      _stdoutGroup('$hintLabel${hintLabelColor(':')} $message', group);
    } else {
      _stdoutGroup(hintMessageColor(message), group);
    }

    return;
  }

  if (label) {
    stdout(hintMessageColor('$hintLabel: $message'));
  } else {
    stdout(hintMessageColor(message));
  }
}