Chapter 4
Classes, Objects and Null Checks
Section 2
Create a Class to Represent a Plant
In Kotlin, creating a traditional class to represent a noun is easy. In this video, we create a simple class that represents a plant. This class is a Data Transfer Object, or DTO. - What belongs in a Plant DTO - Create a DTO class in one line - Understand Constructors