getText method

String getText(
  1. int offset,
  2. int length
)

Returns the text of the given range in the unit.

Implementation

String getText(int offset, int length) =>
    _buffer.substring(offset, offset + length);