toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
json[r'course_id'] = this.courseId;
json[r'name'] = this.name;
json[r'count'] = this.count;
json[r'percentage'] = this.percentage;
return json;
}