Choices.fromJson constructor

Choices.fromJson(
  1. Map<String, dynamic> json
)

Implementation

Choices.fromJson(Map<String, dynamic> json) {
  text = json['text'];
  index = json['index'];
  logprobs = json['logprobs'];
  finishReason = json['finish_reason'];
}