There is no such thing as the
KClass
for
XandrFlatResponse<XandrBudgetSplitter>
, because that expression is more general type, not just a class. Actually,
XandrFlatResponse<XandrBudgetSplitter>()::class
is a very strange way to get a class, and it already is just
XandrFlatResponse
, as if you had specified just
XandrFlatResponse::class
. The correct type to access the full type information would be
KType