in lib/src/span_scanner.dart [31:38]
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;
}