endOffset property

int get endOffset

Implementation

int get endOffset => startOffset! + (text == null ? 1 : text!.length);