isDone property

bool isDone

Whether the scanner has completely consumed string.

Implementation

bool get isDone => position == string.length;