toJson method
Implementation
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = new Map<String, dynamic>();
data['pictureUrl'] = this.pictureUrl;
data['colorCode'] = this.colorCode;
data['title'] = this.title;
data['currency'] = this.currency;
data['description'] = this.description;
data['price'] = this.price;
data['commissionId'] = this.commissionId;
return data;
}