toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
json[r'name'] = this.name;
json[r'code'] = this.code;
json[r'description'] = this.description;
json[r'points'] = this.points;
json[r'objectives'] = this.objectives;
json[r'rewards'] = this.rewards;
return json;
}