In Kotlin, when is already so powerful but did you know you can also use custom objects in when? Amazing, right? Let's go about implementing it.