JvmRecord

@Target(allowedTargets = [AnnotationTarget.CLASS])
expect annotation class JvmRecord(source)

Instructs compiler to mark the class as a record and generate relevant toString/equals/hashCode methods

Since Kotlin

1.5
@Target(allowedTargets = [AnnotationTarget.CLASS])
actual annotation class JvmRecord(source)

Instructs compiler to mark the class as a record and generate relevant toString/equals/hashCode methods

Since Kotlin

1.5