Version: v0.8.1 - Beta.  We welcome contributors & feedback.

ObjectHooks.onClone

onClone() -> none

Description

This method is called on an object that was newly created via the zClone method.

It can be used to do any further initialization of properties.

class MyObject {

    public fun onClone {

        @.someField = 123
    }
}

See Also