collapseToEnd method Null safety
Collapses the range to its end.
Sets the start of the range to be the same as its end. The new range is an empty range positioned at the end of the current range.
Implementation
void collapseToEnd();
Collapses the range to its end.
Sets the start of the range to be the same as its end. The new range is an empty range positioned at the end of the current range.
void collapseToEnd();