toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
json[r'skill'] = this.skill;
json[r'courses'] = this.courses;
json[r'resources'] = this.resources;
json[r'total_points'] = this.totalPoints;
if (this.percentile != null) {
json[r'percentile'] = this.percentile;
} else {
json[r'percentile'] = null;
}
return json;
}