Convert JSON to integer (or double)?

Database & APIs

I want to set the height of a container from a variable that comes from an API call. I then populate a list of such items. I understand it is currently not working because the JSON items are strings, while the container height expects integer (or double)? How can I transform the JSON reply to some integer (or double)? Any help please?

What have you tried so far?

Tried implementing it

Did you check FlutterFlow's Documentation for this topic?
Yes
1 reply