getLineAtOffset method Null safety

TextSelection getLineAtOffset(
  1. TextPosition position
)

Return a TextSelection containing the line of the given TextPosition.

Implementation

TextSelection getLineAtOffset(TextPosition position);