toJson method
Implementation
Map<String, dynamic> toJson() => {
"id": id,
"object": object,
"created_at": createdAt,
"name": name,
"description": description,
"model": model,
"instructions": instructions,
"tools": List<dynamic>.from(tools.map((x) => x.toJson())),
"file_ids": List<dynamic>.from(fileIds.map((x) => x)),
"metadata": metadata.toJson(),
};