toJson method

  1. @override
Object toJson()

Implementation

@override
Object toJson() => {
  'location': location,
  'contents': [for (final i in contents) i.toJson()],
  'predefinedRubricGenerationSpec': ?predefinedRubricGenerationSpec?.toJson(),
  'rubricGenerationSpec': ?rubricGenerationSpec?.toJson(),
  'agentConfig': ?agentConfig?.toJson(),
};