I think its usually a good idea to use data classe...
# android
l
I think its usually a good idea to use data classes wherever you can, it automatically generates proper
equals()
,
hashCode()
,
toString()
and
copy()
functions using your primary constructor params.