convert

inline fun <T : Any> convert(): T

Converts the layered sections to an instance of T.


fun <T : Any> convert(clazz: KClass<T>): T

Converts the layered sections to an instance of clazz.