LineItems.fromJson constructor

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

Implementation

LineItems.fromJson(Map<String, dynamic> json) {
  productId = json['product_id'];
  name = json['name'];
  variationId = json['variation_id'];
  taxClass = json['tax_class'];
  subtotal = json['subtotal'];
  total = json['total'];
  quantity = json['quantity'];
}