I think the Kotlin way would be a top-level functi...
# getting-started
p
I think the Kotlin way would be a top-level function unless your factory function needs to access something private in the class.
👍 1