toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
json[r'code'] = this.code;
json[r'type'] = this.type;
json[r'description'] = this.description;
json[r'required_points'] = this.requiredPoints;
json[r'quantity'] = this.quantity;
json[r'member_required'] = this.memberRequired;
json[r'first_only'] = this.firstOnly;
return json;
}