ProductReference.fromJson constructor

ProductReference.fromJson(
  1. Map<String, dynamic> json
)

Implementation

ProductReference.fromJson(Map<String, dynamic> json) {
  id = json["id"];
  planDuration = json["planDuration"];
  rentDuration = json["rentDuration"];
  workDuration = json["workDuration"];
  numberOfItems = json["numberOfItems"];
  reference = json["reference"];
  description = json["description"];
  pictureUrl = json["pictureUrl"];
  codeReference = json["codeReference"];
  categoryId = json["categoryId"];
  purchaseType = json["purchaseType"];
  warrantyDuration = json["warrantyDuration"];
  serialNumberFormatId = json["serialNumberFormatId"];
  label = json["label"];
}