Token constructor

const Token(
  1. TokenType type,
  2. String lexeme,
  3. Object? literal,
  4. int line,
)

Implementation

const Token(this.type, this.lexeme, this.literal, this.line);