tip static method

String tip(
  1. String message, {
  2. bool error = true,
})

Logs a tip message in green.

Implementation

static String tip(String message, {bool error = true}) {
  String output = '{@green}[TIP] $message{@end}';
  out(output, error: error);

  // Return for testing.
  return output;
}