@Override
  public boolean equals(final Object other) {
    if (this == other) return true;
    if (!(other instanceof Token)) return false;
    final Token that = (Token) other;
    return this.startIndex == that.startIndex && this.endIndex == that.endIndex && this.type == that.type;
  }
Get the value of this token from the complete message.

@param message the message to read
@return the value of this token
@since 4.10.0
text-minimessage/src/main/java/net/kyori/adventure/text/minimessage/internal/parser/Token.java