moveCursorToEnd method

void moveCursorToEnd()

Moves cursor at the end

Implementation

void moveCursorToEnd() {
  this.selection = TextSelection.collapsed(offset: this.length);
}