parseText method Null safety

Text? parseText()

Implementation

Text? parseText() => next(TokenType.text) ? Text(_current) : null;