toJson method
Implementation
@override
Object toJson() {
return {
if (functionCallingConfig != null)
'functionCallingConfig': functionCallingConfig!.toJson(),
if (retrievalConfig != null) 'retrievalConfig': retrievalConfig!.toJson(),
};
}