toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (fewShotExamples != null) 'fewShotExamples': fewShotExamples!,
      if (outputLanguageCode != null)
        'outputLanguageCode': outputLanguageCode!,
      if (summarizationSections != null)
        'summarizationSections': summarizationSections!,
      if (version != null) 'version': version!,
    };