xsahil03x / super_enum

Create super-powered dart enums similar to sealed classes in Kotlin
https://pub.dev/packages/super_enum
MIT License
116 stars 13 forks source link

Do not generate the same UseClass wrappers multiple times #43

Closed passsy closed 4 years ago

passsy commented 4 years ago

Do not generate the same @UseClass wrappers multiple times

Also adds support for a 'name' parameter, for even more control when the default doesn't satisfy naming. This may happen when reusing a the class across multiple enums.

fixes #42

Also: Seems like analyzer pushed a slightly breaking changes in a patch release. Worked on my machine but not on CI.