endPosition property
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);