TopSellerReport.fromJson constructor

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

Implementation

factory TopSellerReport.fromJson(Map<String, dynamic> json) =>
    TopSellerReport(
      title: json["title"],
      productId: json["product_id"],
      quantity: json["quantity"],
      links: Links.fromJson(json["_links"]),
    );