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