toSelectionEnd method

void toSelectionEnd()

Implementation

void toSelectionEnd() {
  selection = TextSelection.fromPosition(TextPosition(offset: text.length));
}