Token constructor Null safety
Initialize a newly created token to have the given type
and offset
.
Implementation
factory Token(TokenType type, int offset, [CommentToken? preceedingComment]) =
SimpleToken;
Initialize a newly created token to have the given type
and offset
.
factory Token(TokenType type, int offset, [CommentToken? preceedingComment]) =
SimpleToken;