toJson method

  1. @override
Object toJson()

Implementation

@override
Object toJson() => {
  'model': ?model,
  'content': ?content?.toJson(),
  'title': ?title,
  'taskType': ?taskType?.toJson(),
  'outputDimensionality': ?outputDimensionality,
  'autoTruncate': ?autoTruncate,
  'embedContentConfig': ?embedContentConfig?.toJson(),
};