core.Map<core.String, core.dynamic> toJson() => { if (answerRecord != null) 'answerRecord': answerRecord!, if (confidence != null) 'confidence': confidence!, if (reply != null) 'reply': reply!, };