PaymentItem.fromJson constructor

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

Implementation

PaymentItem.fromJson(Map<String?, dynamic> json) {
  description = json['description'];
  details = json['details'];
  id = json['id'];
  name = json['name'];
  quantity = json['quantity'];
  reference = json['reference'];
  sku = json['sku'];
  unitOfMeasure = json['unitOfMeasure'];
  unitPrice = json['unitPrice'];
}