spkersten / dart_functional_data

Simple and non-intrusive code generator for lenses and boilerplate of data types
https://pub.dev/packages/functional_data
MIT License
41 stars 15 forks source link

Could the generated class keep private with the original class? #9

Closed jaggerwang closed 1 year ago

jaggerwang commented 5 years ago

The original class _ViewModel is private, but the generated class is $_ViewModel, which is not private. It lead to name conflict when export multiple modules that have the same class _ViewModel, but this should be ok.

spkersten commented 4 years ago

Probably all generated $Foo classes should be private as they are only supposed to be used by Foo.

spkersten commented 3 years ago

This change would be backwards-incompatible.

spkersten commented 1 year ago

All generated symbols are now private.