currentSize property

int get currentSize

The number of code units comprising the current rune.

Returns zero if there is no current rune (current is -1).

Implementation

int get currentSize => _nextPosition - _position;