red static method

void red(
  1. String text, {
  2. String name = 'red',
})

Log to console in red

Implementation

static void red(String text, {String name = 'red'}) => developer.log(
      '\x1B[31m$text\x1B[0m',
      name: name,
    );