OathTokenCode constructor

OathTokenCode(
  1. String? code,
  2. int? start,
  3. int? until,
  4. TokenType tokenType,
)

Creates OathTokenCode object with given information.

Implementation

OathTokenCode(String? code, int? start, int? until, TokenType tokenType) {
  this.code = code;
  this.start = start;
  this.until = until;
  this.oathType = tokenType;
}