CheckoutModel.fromMap constructor
Implementation
factory CheckoutModel.fromMap(Map<String, dynamic> map) {
return CheckoutModel(
step: map['step'],
totalPrice: map['totalPrice'],
productList: map['productList'],
orderNo: map['orderNo'],
currency: map['currency'],
sessionId: map['sessionId'],
userId: map['userId'],
device: map['device'],
os: map['os'],
lang: map['lang'],
);
}