I use value class in multiplatform: `value class D...
# announcements
t
I use value class in multiplatform:
value class Decimal(val d: Double)
If I declare it as non null:
val quantity: Decimal
it will be compiled and used as
Double
from Swift If I declare it as nullable:
val quantity: Decimal?
it will be compiled to
Optional<Any>
and I can not cast to
Double
or
DecimalKt
from Swift Anyone got this and how to use nullable value class from Swift?