toMap method
Converts the object to a Map<String, dynamic>
Implementation
Map<String, dynamic> toMap() {
return <String, dynamic>{
'model': model,
'max_tokens': maxTokens,
'temperature': temperature,
'top_p': topP,
'n': n,
'stream': stream,
'logprobs': logprobs,
'stop': stop,
};
}