AlexJuca
09/03/2020, 5:41 PMclass CustomKlass(val status: Int = 0,
val code: String? = null,
val message: String? = null,
val type: String? = null): ErrorResponse {
}
Is it possible to generate a function with the same parameters as this class (possibly at compile time) ?streetsofboston
09/03/2020, 5:44 PMnanodeath
09/03/2020, 5:44 PMAlexJuca
09/03/2020, 5:54 PMAlexJuca
09/03/2020, 5:54 PMstreetsofboston
09/03/2020, 5:55 PMnanodeath
09/03/2020, 6:00 PMstreetsofboston
09/03/2020, 6:06 PMval ctrAsFunction = ::CustomKlass