toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final correctAnswers = this.correctAnswers;
  final generalFeedback = this.generalFeedback;
  final pointValue = this.pointValue;
  final whenRight = this.whenRight;
  final whenWrong = this.whenWrong;
  return {
    'correctAnswers': ?correctAnswers,
    'generalFeedback': ?generalFeedback,
    'pointValue': ?pointValue,
    'whenRight': ?whenRight,
    'whenWrong': ?whenWrong,
  };
}