println method

void println([
  1. String text = ''
])

Same as print, but with a newline at the end.

Implementation

void println([String text = '']) {
  print(text);
  _newline();
}