'DataSource' is already defined

Custom Code

In Custom Function Code, I have received the error 'The name 'dataSource' is already defined. Try renaming one of the declarations.' This only started following the most recent update; all custom code functions had been working before this. This error will only appear on one custom function at a time.

What have you tried so far?

I have tried renaming all Arguments the function name, anything that could potentially be defined elsewhere.

I tried deleting the custom function; every time I did this, the error would move onto a new custom function and so on.

I have only included one instance of this occurring, but it happens across all functions.

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