newLength property

int get newLength

Length of the inserted/replaced portion in the new text

Implementation

int get newLength => newEndOffset - startOffset;