AllWishlistWithProduct.fromJson constructor

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

Implementation

AllWishlistWithProduct.fromJson(Map<String, dynamic> json) {
  sId = json['_id'];
  name = json['name'];
  description = json['description'];
  type = json['type'];
  moq = json['moq'];
  isOutofstock = json['isOutofstock'];
  isMultiple = json['isMultiple'];
  imageId = json['imageId'];
  price = WishlistPrice.fromJson(json['price']);
  images = WishlistImageFromJson(json['images']);
}