Sku.fromDynamicJson constructor

Sku.fromDynamicJson(
  1. dynamic json
)

Implementation

Sku.fromDynamicJson(dynamic json) {
  setSkuPrice = json.setSkuPrice.toDouble();
  setQuantity = json.setQuantity;
  skuId = json.skuId;
  sku = json.sku;
  styleCode = json.styleCode;
  variationType = json.variationType;
  b2cSellingPrice = json.b2cSellingPrice.toDouble();
  b2bSellingPrice = json.b2bSellingPrice.toDouble();
  mrp = json.mrp.toDouble();
  discount = json.discount.toDouble();
  productName = json.productName;
  iNTsku = json.iNTsku;
  sizeAttributeSettingId = json.sizeAttributeSettingId;
  sizeAttributeSettingFieldValueId = json.sizeAttributeSettingFieldValueId;
  colorAttributeSettingId = json.colorAttributeSettingId;
  colorAttributeSettingFieldValueId = json.colorAttributeSettingFieldValueId;
  sizeAttributeName = json.sizeAttributeName;
  colorAttributeName = json.colorAttributeName;
  sizeAttributeFieldValue = json.sizeAttributeFieldValue;
  colorAttributeFieldValue = json.colorAttributeFieldValue;
  gstTypeId = json.gstTypeId;
  gstValue = json.gstValue.toDouble();
  // sTypename = json.sTypename;
}