toString
Also written: toString()
The function that gives the text shown when you print an object. You can `override` it, and a data class makes a readable one for you.
Also written: toString()
The function that gives the text shown when you print an object. You can `override` it, and a data class makes a readable one for you.