Template(init: Template.() -> Unit = {}, base: Template? = null)
Creates a new template. Copies all settings from the specified base (if it is not null) and runs the init function on the created instance.
init
- function to initialize the created template
base
- base object to copy settings from
See Also