how to pass a list of list documents to custom function

Actions & Logic

Hi - I have a custom function that takes as input a list of user data type field called AvailableSlotsStruct which itself has a list so its a nested list.

List<AvailableSlotsStruct>? listAvSlotsByDat. AvailableSlotsStruct further contains a list.

So the custom function takes the above as input and returns a string. My goal is to call this function and set a text field with the return value. However I am not able to set up a call to this function using flutterflow UI as shown below. I am confused with options in the UI such as "map list items" etc as my goal is to pass the entire collection of this list<list> that i have queried and kept in an action output variable.

What have you tried so far?

I have tried to use map items list but it doesn't make sense to me and the UI just errors out.

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