Naturally, it is the same as if you wrote ``` val ...
# getting-started
e
Naturally, it is the same as if you wrote
Copy code
val myClass = MyClass(listOf(
        Transition(Pair(Status.X, Status.Y),
            beforeTransition = asList(this::fun1),
            afterTransition = asList()
        )
But instead you move it to class definition. There is no access to inner state (
this
keyword) from the outside, why there should be such indulgence for default parameters?