toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
json[r'code'] = this.code;
json[r'name'] = this.name;
json[r'description'] = this.description;
json[r'price'] = this.price;
json[r'category'] = this.category;
json[r'unique_to_account'] = this.uniqueToAccount;
return json;
}