@override Object toJson() => { 'answer': ?answer?.toJson(), if (answerableProbability case final $1?) 'answerableProbability': encodeDouble($1), 'inputFeedback': ?inputFeedback?.toJson(), };