toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
    json[r'tokens'] = this.tokens;
    json[r'token_logprobs'] = this.tokenLogprobs;
    json[r'top_logprobs'] = this.topLogprobs;
    json[r'text_offset'] = this.textOffset;
  return json;
}