Do we have a way of passing in class constructors as lambdas? Similar to the way we can pass fun
using ::
?
class Foo
val constructorLambda: () -> Foo = ::Foo
Thanks! I was sure I tried that but I’ll try again. Thanks!
Do we have a way of passing in class constructors as lambdas? Similar to the way we can pass fun
using ::
?
class Foo
val constructorLambda: () -> Foo = ::Foo
Thanks! I was sure I tried that but I’ll try again. Thanks!