toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
    json[r'id'] = this.id;
    json[r'student'] = this.student;
    json[r'level'] = this.level;
    json[r'points'] = this.points;
    json[r'correct_questions_for_level'] = this.correctQuestionsForLevel;
    json[r'no_incorrect_questions_for_level'] = this.noIncorrectQuestionsForLevel;
    json[r'created_at'] = this.createdAt.toUtc().toIso8601String();
    json[r'updated_at'] = this.updatedAt.toUtc().toIso8601String();
    json[r'acquired_skills'] = this.acquiredSkills;
  return json;
}