Generate children as datatype from API response

Database & APIs

Hello,

I created an API in Xano and want to display the results in my app. But I would like to map the response to a datatype. I think I need to do the following:

However..this does not seem to work. My API returns a list of values. That's why I checked the option Is List in the hope it would work. My datatype contains just 5 properties: id, name, views,likes,image.

This is what my API returns:

This is the error I get:

I would like to learn more about how this works and what the other options are like these for example. I can't seem to find information about this in the docs or am I not looking in the right direction?

What have you tried so far?

Described above

Did you check FlutterFlow's Documentation for this topic?
No
8 replies