Product.fromJson constructor

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

Implementation

Product.fromJson(Map<String, dynamic> json) {
  id = json['id'];
  createdAt = json['createdAt'];
  verifyRatings = json['verifyRatings'];
  showNoStocks = json['showNoStocks'];
  showPrice = json['showPrice'];
}