如果我试图得到
BaseResponse<Iterable<User>>::class
我得到错误错误,类文字的左侧只允许类。我已经搜索过,但仍然没有找到如何在 kotlin 中获取泛型类的类型。
kotlin
kotlin ×1