toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (answer != null) 'answer': answer!,
if (answerRecord != null) 'answerRecord': answerRecord!,
if (answerSources != null) 'answerSources': answerSources!,
if (answerType != null) 'answerType': answerType!,
};