I'm trying to follow the tutorial for column sorting in the DataTable documentation here: https://docs.flutterflow.io/resources/ui/components/built-in-components/datatable/ but I'm stuck at creating the custom function, the tutorial just glosses over the arguments and return value. I have a supabase table called items, which is queried via page load action which stores into an action output variable, which then gets stored into a page state variable which the datatable uses to dynamically create children. I created the custom function to have a return value type of a list of supabase rows, and the table name of my table 'items'. But here the code throws an error:
The name 'ItemsRow' isn't a type, so it can't be used as a type argument.
Try correcting the name to an existing type, or defining a type named 'ItemsRow'.