in lib/src/relative_span_scanner.dart [49:56]
set state(LineScannerState state) {
if (state is! _SpanScannerState || !identical(state._scanner, this)) {
throw ArgumentError('The given LineScannerState was not returned by '
'this LineScanner.');
}
position = state.position;
}