@override Map<String, dynamic> toJson() => super.toJson() ..addAll(<String, dynamic>{ if (responseId != null) 'response_id': responseId, if (contentIndex != null) 'content_index': contentIndex, });