toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
json[r'course_id'] = this.courseId;
json[r'name'] = this.name;
json[r'total_videos'] = this.totalVideos;
json[r'watched'] = this.watched;
json[r'total_time_watch'] = this.totalTimeWatch;
json[r'average_class_watch'] = this.averageClassWatch;
json[r'class_time_average'] = this.classTimeAverage;
return json;
}