Decode api swiftui

Hi there!

Working in SWIFTUI

I’m trying to load all the products in a ListView in Swiftui

After getting the data from the API .I can see it the console, but after decondig I’m getting a nil

and off course nothing shows in my view

please help!!

I need to show in a list :

products.title

products.variants.price

products.image.src

can someone guide with an example

Thank you very much