getTextPositionBelow method Null safety

TextPosition getTextPositionBelow(
  1. TextPosition position
)

Returns the TextPosition below the given offset into the text.

If the offset is already on the last line, the given offset will be returned.

Implementation

TextPosition getTextPositionBelow(TextPosition position);