toJson method
Implementation
Map<String, Object?> toJson() => {
if (thinkingBudget case final thinkingBudget?)
'thinkingBudget': thinkingBudget,
if (thinkingLevel case final thinkingLevel?)
'thinkingLevel': thinkingLevel.toJson(),
if (includeThoughts case final includeThoughts?)
'includeThoughts': includeThoughts,
};