toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
    json[r'course_id'] = this.courseId;
    json[r'name'] = this.name;
    json[r'enrollments'] = this.enrollments;
    json[r'completions'] = this.completions;
    json[r'average'] = this.average;
  return json;
}