MarketProduct.fromJson constructor

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

Implementation

MarketProduct.fromJson(Map<String, dynamic> json) {
  id = json["id"];
  reference = json["reference"];
  pictureUrl = json["pictureUrl"];
  categoryId = json["categoryId"];
  purchaseType = json["purchaseType"];
  warrantyDuration = json["warrantyDuration"];
  planDuration = json["planDuration"];
  workDuration = json["workDuration"];
  numberOfItems = json["numberOfItems"];
  label = json["label"];
  languageCode = json["languageCode"];
  subtitleLabel = json["subtitleLabel"];
  description = json["description"];
  jsonDescription = json["jsonDescription"];
  countryCode = json["countryCode"];
  price = json["price"];
  priceFormat = json["priceFormat"];
  priceMonthly = json["priceMonthly"];
  priceMonthlyFormat = json["priceMonthlyFormat"];
  priceYearly = json["priceYearly"];
  priceYearlyFormat = json["priceYearlyFormat"];
  priceByAdIfMonthlyFormat = json["priceByAdIfMonthlyFormat"];
  priceByAdIfYearlyFormat = json["priceByAdIfYearlyFormat"];
  pricePercentageDiscountIfYearly = json["pricePercentageDiscountIfYearly"];
  currency = json["currency"];
  currentDiscountActive = json["currentDiscountActive"];
  currentDiscountInPercent = json["currentDiscountInPercent"];
  discountBetweenYearAndMonth = json["discountBetweenYearAndMonth"];
  convertedPricing = json["convertedPricing"];
}