Inventory.fromMap constructor

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

Implementation

factory Inventory.fromMap(Map<String, dynamic> json) => Inventory(
  sku: json["sku"],
  barcode: json["barcode"],
  quantity: json["quantity"],
  trackQuantity: json["track_quantity"],
  reorderPoint: json["reorder_point"],
);