toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (modelConfig != null) 'modelConfig': modelConfig!,
  if (promptTemplate != null) 'promptTemplate': promptTemplate!,
  if (rubricContentType != null) 'rubricContentType': rubricContentType!,
  if (rubricTypeOntology != null) 'rubricTypeOntology': rubricTypeOntology!,
};