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