I recommend to use ‘?’ because not always have the next information inside a object. In this case I would use Pages?.images?.formats?.thumbnail?.url, because the error indicate that inside formats not have nothing. Do you understand?
I recommend to use ‘?’ because not always have the next information inside a object. In this case I would use Pages?.images?.formats?.thumbnail?.url, because the error indicate that inside formats not have nothing. Do you understand?