toJson method
Implementation
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = new Map<String, dynamic>();
data['serviceId'] = this.serviceId;
data['serviceName'] = this.serviceName;
data['serviceDescription'] = this.serviceDescription;
data['ssu'] = this.ssu;
data['servicePrice'] = this.servicePrice;
data['stock'] = this.stock;
data['serviceSpecialPrice'] = this.serviceSpecialPrice;
data['specialPriceStart'] = this.specialPriceStart;
data['specialPriceEnd'] = this.specialPriceEnd;
data['taxType'] = this.taxType;
data['isPublished'] = this.isPublished;
data['vendor'] = this.vendor;
return data;
}