SkuPrice.fromJson constructor
SkuPrice.fromJson(
- Map<String, dynamic> json
)
Implementation
SkuPrice.fromJson(Map<String, dynamic> json) {
mrp = makeDouble(json['mrp']);
sellingPrice = makeDouble(json['sellingPrice']);
discount = makeDouble(json['discount']);
rangeDiscount = makeDouble(json['rangeDiscount']);
totalPrice = makeDouble(json['totalPrice']);
gstLabelName = makeDouble(json['gstLabelName']);
withOutGstPrice = makeDouble(json['withOutGstPrice']);
sgstLabelName = makeDouble(json['sgstLabelName']);
cgstLabelName = makeDouble(json['cgstLabelName']);
totalSgst = makeDouble(json['totalSgst']);
totalCgst = makeDouble(json['totalCgst']);
withOutSCGstPrice = makeDouble(json['withOutSCGstPrice']);
totalGst = makeDouble(json['totalGst']);
sTypename = json['__typename'];
}