line property

  1. @override
int get line
override

The scanner's current (zero-based) line number.

Implementation

@override
int get line => _sourceFile.getLine(position);