Kotlin equivalent of Swift's struct?

I think you are looking for an object declaration which is in essence a Singleton.

Though I wouldn’t compare it to a struct since that has a different meaning and behaviour in most other languages.

1 Like