Loop API Call with cursor and remaining pagination.

Database & APIs
  • My GET API returns a JSON list with 'response.results' which is a list, and we also have 'remaining' which indicates how many items are left to display, and 'cursor' which indicates the first item of the list.

  • I need to call the API multiple times until 'remaining' is 0.

  • The 'cursor' increments by 100, starting at 0."

What have you tried so far?

My application handles data offline, so I am using Data Type with App State. I have already tried using Start Periodic, Loop, Conditional, but I haven't been successful!

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