MoveCursorTo constructor

const MoveCursorTo(
  1. [int row = 1,
  2. int column = 1]
)

Creates a move cursor to command.

The row and column must be positive.

Implementation

const MoveCursorTo([
  int row = 1,
  int column = 1,
])  : row = row < 1 ? 1 : row,
      column = column < 1 ? 1 : column;