Product.fromJson constructor

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

Implementation

factory Product.fromJson(Map<String, dynamic> json) => Product(
  name: json["name"],
  quantity: json["quantity"],
  unitAmount: json["unit_amount"],
);