FreeProduct class
product : {"product_id":"66","category":{"id":"8","name":"ANTI-INFECTIVE RANGE"},"manufacture":{"id":"5","name":"Believe Wellness"},"marketed_by":{"id":"1","name":"Believe"},"company":{"id":"1","name":"Believe Wellness"},"division":{"id":"","name":""},"brand":"CEFOWELL-200 TAB","composition":"Cefpodoxime 200mg","mrp":"210.00","batch_no":"BN005","manufacturing_date":"01 Jan, 2024","expiry_date":"28 Jun, 2024","price_to_show":{"key":"PTR","value":"60.00"},"packaging_display":"10 X 10 TABLET","dosage_form":"TABLET"}
cart : {"quantity":"2","out_of_stock_1_as_out":"0","cart_id":"408","total_item_vise":"120.00"}
Constructors
- FreeProduct({Product? product, Cart? cart})
- FreeProduct.fromJson(dynamic json)
Properties
Methods
-
copyWith(
{Product? product, Cart? cart}) → FreeProduct -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited