Undefined class 'Language'. Try changing the name to the name of an existing class, or creating a class with the name 'Language'.

Custom Code

I have a custom function that used to work and yesterday it started to throw the following error for all the enum parameters. Is anyone else having the same issue and are there any fix suggestions?

"Undefined class 'Language'. Try changing the name to the name of an existing class, or creating a class with the name 'Language'." 

What have you tried so far?

When I change the parameters to String, the errors go away.

I have checked existing documentation and issues and have not found any relevant one.

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