Price.fromRequestJson constructor
Price.fromRequestJson(
- dynamic json
Implementation
Price.fromRequestJson(dynamic json) {
mrp = makeDouble(json.mrp);
sellingPrice = makeDouble(json.sellingPrice);
discount = makeDouble(json.discount);
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);
}