Map<String, dynamic> toJson() { final json = <String, dynamic>{}; json[r'code'] = this.code; json[r'description'] = this.description; json[r'required_points'] = this.requiredPoints; return json; }