dart_functional_data icon indicating copy to clipboard operation
dart_functional_data copied to clipboard

Could the generated class keep private with the original class?

Open jaggerwang opened this issue 6 years ago • 2 comments

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.

jaggerwang avatar Sep 04 '19 09:09 jaggerwang

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

spkersten avatar Nov 27 '19 15:11 spkersten

This change would be backwards-incompatible.

spkersten avatar May 29 '21 13:05 spkersten

All generated symbols are now private.

spkersten avatar Jun 07 '23 14:06 spkersten