Something like this should do the trick, I guess:
class MyResponse(directory: String){
val isDirectory : String
@JvmName(“isDirectory”) get() = field
init {
isDirectory = directory
}
}
Something like this should do the trick, I guess:
class MyResponse(directory: String){
val isDirectory : String
@JvmName(“isDirectory”) get() = field
init {
isDirectory = directory
}
}