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