Skip to content

Glossary: Kotlin Beyond the Basics

data class

A class for holding data, such as `MenuItem`, with equality by value, `toString` and `copy` generated for it.

Where the book teaches it