-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FEATURE] Change so that setters and getters are outside of object #2
Comments
What would be the advantages? That would means the user would not be able to access the attributes by string var niceClass = NiceClass();
var numberOfNum = niceClass["numberOfNum"]; |
and it'd free up two operators. and they'd be able to get the attributes by string by as well as being able to have a |
sorry, I still consider it does not worth it. Until the moment dart allows you to use multiple inheritance so you can extend from as many classes as you want. @serializable
class NiceClass extends OtherClass with _$NiceClassSerializable {
...
} for the case of accessing values by index you can still do:
|
Well... for now i'm working on my own fork of |
maybe those changes should be introducen on built_mirrors instead of |
also maybe you would prefer take a look on reflectable |
so you mean, merge mirrors + serializable? Because this would put serializable out of buisness but the code from serializable would be in mirrors. It sounds good! |
a.dart
a.g.dart
The text was updated successfully, but these errors were encountered: