parseIdentifier method Null safety

Identifier? parseIdentifier()

Implementation

Identifier? parseIdentifier() =>
    next(TokenType.id) ? Identifier(_current) : null;