Items.fromJson constructor
Implementation
Items.fromJson(Map<String, dynamic> json) {
description = json['description'];
name = json['name'];
unitPrice = json['unitPrice'] != null
? UnitPrice.fromJson(json['unitPrice'])
: null;
quantity = json['quantity'];
total = json['total'] != null ? UnitPrice.fromJson(json['total']) : null;
details = json['details'];
}