toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
json[r'code'] = this.code;
json[r'name'] = this.name;
json[r'content_type'] = this.contentType;
json[r'content_code'] = this.contentCode;
json[r'duration'] = this.duration;
json[r'price'] = this.price;
return json;
}