info method

void info(
  1. String? message, {
  2. LogStyle? style,
})

Writes info message to stdout.

Implementation

void info(String? message, {LogStyle? style}) {
  if (level.index > Level.info.index) return;
  style ??= theme.info;
  _stdout.writeln(style.call(message) ?? message);
}