ShopResponse constructor Null safety
- dynamic res
Implementation
ShopResponse(dynamic res) {
result = res["result"];
fullShop = res["fullShop"];
lastUpdate = res["lastUpdate"];
currentRotation = res["currentRotation"];
nextRotation = res["nextRotation"];
carousel = res["carousel"];
specialOfferVideo = res["specialOfferVideo"];
shop = res["shop"];
}