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

Could we allow to generate some types as private types to be consumed by the bloc itself only? #62

Open ride4sun opened 4 years ago

ride4sun commented 4 years ago

I would like to keep some of the types generated by the super enum being private and not to expose some bloc events to the outside rather keeping them private to the package.

Should be pretty simple to generate those types with an understood like _SomeTyperGenerated. Well seems like _SomeTyperGenerated is only private in the own file. Wondering what else I could do.