ShopResponse constructor Null safety

ShopResponse(
  1. 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"];
}