toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final Map<String, dynamic> data = new Map<String, dynamic>();
  data["digicodeLabel"] = this.digicodeLabel;
  data["description"] = this.description;
  data["id"] = this.id;
  data["authCode"] = this.authCode;
  data["unlocked"] = this.unlocked;
  data["activeCamera"] = this.activeCamera;
  data["publicName"] = this.publicName;
  data["productId"] = this.productId;
  data["purchasedAt"] = this.purchasedAt;
  data["warrantyUntil"] = this.warrantyUntil;
  data["productSerial"] = this.productSerial;
  data["statusLabel"] = this.statusLabel;
  data["statusColor"] = this.statusColor;
  data["productRef"] = this.productRef;
  data["pictureUrl"] = this.pictureUrl;
  data["productCat"] = this.productCat;
  data["productDisplay"] = this.productDisplay;
  data["productColor"] = this.productColor;
  data["placeId"] = this.placeId;
  data["utcModifier"] = this.utcModifier;
  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["roomId"] = this.roomId;
  data["roomName"] = this.roomName;
  return data;
}