maybe method

Token? maybe(
  1. TokenType type
)

Implementation

Token? maybe(TokenType type) => next(type) ? _current : null;