Custom Action to count seconds and then return them as a integer list

Actions & Logic

I'm looking to create a custom action that counts each second like 1,2,3,4, etc. and then returns the integer list where each item in the list is one second so for instance if it counts for 4 seconds the list would look like:

1

2

3

4

and then I need to take that return list and create document to populate firebase integer list item

What have you tried so far?

everything

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