-
Notifications
You must be signed in to change notification settings - Fork 171
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
Enable Default Constructor Creation Option #409
Comments
Enable init with default value option in settings and then it will generate data class with init value, the effect is the same as your descriptions When data class all fields initial with default value it will auto has a default construct that no need pass parameters when new a data class object |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In the case when we want to send a class out as a Request, it would be useful to create a constructor with default arguments in some cases, which we could change later. For example, see
constructor()
at the bottom of this code:The text was updated successfully, but these errors were encountered: