writeln method Null safety

void writeln(
  1. dynamic message,
  2. {dynamic color}
)
override

Implementation

void writeln(message, {color}) {
  write(message + "\n", color: color);
}