endPosition property

  1. @override
TextNodePosition get endPosition
override

Returns the NodePosition that corresponds to the end of the content in this node.

For example, a ParagraphNode would return TextNodePosition(offset: text.length).

Implementation

@override
TextNodePosition get endPosition => TextNodePosition(offset: text.length);