LineItem.fromJson constructor
LineItem.fromJson(
- Map json
Implementation
factory LineItem.fromJson(Map<dynamic, dynamic> json) {
return LineItem(
currencyCode: json['currency_code'],
description: json['description'],
quantity: json['quantity'],
totalPrice: json['total_price'],
unitPrice: json['unit_price'],
);
}