length property

int get length

Length of the current text in UTF-16 code units.

Implementation

int get length => _buffer.length;