I have a data class that has a parameter with a de...
# android
j
I have a data class that has a parameter with a default value in the constructor. This class can be initialized by Gson, though, and Gson skips the constructor, so that var never gets initialized in that case.