Token(String text, TokenType type)

Creates a new Token with the given text and type.

Source

Token(String this.text, TokenType this.type);