endOffset property

int get endOffset

Gets the ending offset of this fragment within its parent list.

This represents the position immediately after the last character of this fragment in the complete text.

Implementation

int get endOffset => list == null ? -1 : offset + length;