cartFromJson function

Cart cartFromJson(
  1. String str
)

total_quantity : "1" extra_claim_product : "" scheme_discount : "0.00" scheme_discount_price : "0.00" price : "67.80" cn_cart_totals_id : "27" quantity : "1" quantity_free : "0" product_discount_special : "0.00" product_discount_special_price : "0.00" product_discount_special_company : "0.00" product_discount_special_company_price : "0.00" discount_as_per_fixed : "2.00" discount_as_per_fixed_price : "1.36" extra_discount_as_per_fixed : "0.00" extra_discount_as_per_fixed_price : "0.00" product_discount : "9.00" product_discount_price : "5.98" out_of_stock_1_as_out : "0" total_discount : "7.34" total_discount_with_free_scheme : "0.00" cn_cart_id : "40" total_taxable_item_vise : "60.46" total_item_vise : "67.80" sgst : "6.00" cgst : "6.00" igst : "0.00" sgst_price : "3.6276" cgst_price : "3.6276" igst_price : "0.00" total_gst : "7.26"

Implementation

Cart cartFromJson(String str) => Cart.fromJson(json.decode(str));