toJson method
Implementation
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = new Map<String, dynamic>();
data["terminalId"] = this.terminalId;
data["id"] = this.id;
data["label"] = this.label;
data["description"] = this.description;
data["productSerial"] = this.productSerial;
data["purchasedAt"] = this.purchasedAt;
data["warrantyUntil"] = this.warrantyUntil;
data["productCat"] = this.productCat;
data["categoryColor"] = this.categoryColor;
data["productRef"] = this.productRef;
data["codeReference"] = this.codeReference;
data["pictureUrl"] = this.pictureUrl;
data["statusId"] = this.statusId;
data["statusLabel"] = this.statusLabel;
data["statusColor"] = this.statusColor;
data["statusDisplay"] = this.statusDisplay;
data["lat"] = this.lat;
data["lng"] = this.lng;
data["placeId"] = this.placeId;
data["placeCity"] = this.placeCity;
data["placeLabel"] = this.placeLabel;
data["placeLng"] = this.placeLng;
data["placeLat"] = this.placeLat;
data["placeCountry"] = this.placeCountry;
data["placeCountryCode"] = this.placeCountryCode;
data["placeZip"] = this.placeZip;
data["placeStreet1"] = this.placeStreet1;
data["placeStreet2"] = this.placeStreet2;
data["utcModifier"] = this.utcModifier;
data["macAddress"] = this.macAddress;
data["moreInfos"] = this.moreInfos;
data["hasOwner"] = this.hasOwner;
return data;
}