Closed c0dezli closed 1 year ago
I'm either not looking at the right place or the documentation of this package is very bad. I even looked through the source code but I still have no clue why this is not possible
I think you need to use the "enhanced enum" features.
But it still can't convert enum value to string. Where is a code snippet I can follow? I have read the source code it didn't help
But it still can't convert enum value to string. Where is a code snippet I can follow? I have read the source code it didn't help
Add a custom toString()
to your enum - see https://codewithandrea.com/tips/dart-2.17-enums-with-members/
Let's say we have a enum defined as following:
How can I get 'Company Admin NPS Rating' in code?? It seems like it's impossible
Why can't extend the enum to have a getter like
jsonValue
so the following is possible?