toJson method

  1. @override
Object toJson()
override

Implementation

@override
Object toJson() => {
  if (codeInterpreterRuntimeConfig != null)
    'codeInterpreterRuntimeConfig': codeInterpreterRuntimeConfig!.toJson(),
  if (vertexAiSearchRuntimeConfig != null)
    'vertexAiSearchRuntimeConfig': vertexAiSearchRuntimeConfig!.toJson(),
  if (defaultParams != null) 'defaultParams': defaultParams!.toJson(),
};