Product.fromJson constructor
Implementation
Product.fromJson(Map<String, dynamic> json)
: productId = json['product_id'],
sellSummary = (json['sell_summary'] as List)
.map((e) => BuySellSummary.fromJson(e))
.toList(),
buySummary = (json['buy_summary'] as List)
.map((e) => BuySellSummary.fromJson(e))
.toList(),
quickStatus = QuickStatus.fromJson(json['quick_status']);