PriceDetails.fromJson constructor

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

Implementation

PriceDetails.fromJson(Map<String, dynamic> json) {
  subTotalPrice = json['subTotalPrice']?.toDouble();
  totalGstPrice = json['totalGstPrice']?.toDouble();
  totalWithOutGstPrice = json['totalWithOutGstPrice']?.toDouble();
  totalMrp = json['totalMrp']?.toDouble();
  shippingPrice = json['shippingPrice']?.toDouble();
  totalPrice = json['totalPrice']?.toDouble();
  resellerPrice = json['resellerPrice']?.toDouble();
}