SPTokenContainer constructor

SPTokenContainer({
  1. List<int>? tokens,
  2. int? tokenCount,
  3. int? characterCount,
})

A constructor for SPTokenContainer that initializes the object with an optional list of integer tokens, an optional number of tokens, and an optional number of characters.

Implementation

SPTokenContainer({this.tokens, this.tokenCount, this.characterCount});