toMap method
Map representation of object (not serialized)
Implementation
Map<String, dynamic> toMap() {
return {
'model': model,
'name': name,
'description': description,
'instructions': instructions,
'tools': tools,
'tool_resources': toolResources,
'metadata': metadata,
'temperature': temperature,
'top_p': topP,
'response_format': responseFormat,
};
}