defaultType

val KClass<*>.defaultType: KType

Returns a type corresponding to the given class with type parameters of that class substituted as the corresponding arguments. For example, for class MyMap<K, V>defaultType would return the type MyMap<K, V>.

Since Kotlin

1.1