toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (correctAnswers != null) 'correctAnswers': correctAnswers!,
if (generalFeedback != null) 'generalFeedback': generalFeedback!,
if (pointValue != null) 'pointValue': pointValue!,
if (whenRight != null) 'whenRight': whenRight!,
if (whenWrong != null) 'whenWrong': whenWrong!,
};