toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
    json[r'username'] = this.username;
    json[r'full_name'] = this.fullName;
    json[r'enrollments'] = this.enrollments;
    json[r'completions'] = this.completions;
    json[r'last_active'] = this.lastActive;
    json[r'time_spent'] = this.timeSpent;
    json[r'engagement_index'] = this.engagementIndex;
    json[r'performance_index'] = this.performanceIndex;
  return json;
}