baseIndex property

int get baseIndex

Index of the oldest retained line in the totalAdded sequence. Equal to totalAdded - length; survives capacity head trims.

Implementation

int get baseIndex => _totalAdded - _lines.length;