We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I have a data class with a computed property. The computed property is also present in the generated interface.
data class Test( val isOn: Boolean ) { val isOff: Boolean get() { return !isOn } }
Generated Interface
interface Test { isOn: boolean isOff: boolean }
Is there a way to turn off generation of computed properties?
The text was updated successfully, but these errors were encountered:
That inteface is correct :). But I can see what you are trying to do. You can use:
data class Test( val isOn: Boolean ) val Test.isOff: Boolean get() = !isOn
Sorry, something went wrong.
No branches or pull requests
I have a data class with a computed property. The computed property is also present in the generated interface.
Generated Interface
Is there a way to turn off generation of computed properties?
The text was updated successfully, but these errors were encountered: