previousLine method Null safety

  1. @Deprecated('Use [cursorUp]')
void previousLine()
@Deprecated('Use [cursorUp]')

Moves the cursor to the start of previous line.

Implementation

@Deprecated('Use [cursorUp]')
static void previousLine() {
  Terminal().cursorUp();
}