Are there constructor references in Kotlin?
You can get a function instance for a constructor by simply using ::ClassName, as if it were a factory function.
You can get a function instance for a constructor by simply using ::ClassName, as if it were a factory function.