scanChar method Null safety
- int character
override
If the next character in the string is character
, consumes it.
Returns whether or not character
was consumed.
Implementation
@override
bool scanChar(int character) {
if (!super.scanChar(character)) return false;
_adjustLineAndColumn(character);
return true;
}