Pricing.fromMap constructor

Pricing.fromMap(
  1. Map<String, dynamic> json
)

Implementation

factory Pricing.fromMap(Map<String, dynamic> json) => Pricing(
  currentPrice: json["current_price"],
  salesPrice: json["sales_price"],
  onSales: json["on_sales"],
  supplierPrice: json["supplier_price"],
  markup: json["markup"],
);