janvladimirmostert
05/21/2017, 1:40 PMinline fun <reified T : Any> generateDartClass(): List<String> {
T::class.declaredMemberProperties.forEach { property ->
println(property::class.supertypes)
}
this prints out [kotlin.reflect.jvm.internal.KProperty1Impl<T, R>, kotlin.reflect.KMutableProperty1<T, R>] for all properties, even the enums.