Map<String, dynamic> toJson() { final json = <String, dynamic>{}; json[r'code'] = this.code; json[r'name'] = this.name; json[r'duration_days'] = this.durationDays; json[r'price'] = this.price; return json; }