Json-to-Dart-Model
Json-to-Dart-Model copied to clipboard
Support Composition
Is there an existing issue for this?
- [X] I have searched the existing issues
Current Behavior
Is there any support on auto-generating composition? there are some cases that we want a Class to inherit another Class, but as of this time inheritance is not supported by freezed package but there's an alternative called composition. Any insight about this one. Thank you.
https://github.com/rrousselGit/freezed/issues/464
Expected Behavior
No response
Steps To Reproduce
No response
Version
No response
Relevant JSON syntax
No response
Anything else?
No response
@globalwebforce Hi 👋 If I understand you correctly. Composition should work with this generator. But the rest what is not supported by Freezed it not possible generate. This generator generate only data class from the given json string and the rest generates by Freezed.