gbaldeck
11/17/2021, 3:18 AMturansky
11/17/2021, 8:29 AMturansky
11/17/2021, 8:32 AMturansky
11/17/2021, 1:33 PMgbaldeck
11/17/2021, 2:57 PMturansky
11/17/2021, 3:36 PMattrs {
q = 10
}
For other cases - jso
factory method:
val props: MyProps = jso {
q = 10
}
Also you can create custom factory method, when you have many required properties