resetCursor method Null safety

void resetCursor()

Resets the cursor position

Implementation

void resetCursor() {
  _cursor = 0;
}