You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[dart-codegen] if name has been set as a possible enum value then the generated code will have a conflict with Dart's built-in name property on the enum class #162
Dart enums have a built in property called name which returns the name of the current enum value. However if on the server you declared that a possible enum value is name then this will conflict with the built-in enum property.
So dart-codegen needs to handle cases where the enum value has been set to name. (The solution is prolly to prefix it with some character)