CircuitSerializable

@Target(allowedTargets = [AnnotationTarget.CLASS])
actual annotation class CircuitSerializable(val scope: KClass<*>)(source)

Marks a concrete Screen or PopResult for serialization registration code generation in scope.

This annotation supplies the type's default kotlinx serializer. Add @Serializable(with = ...) only when the type uses a custom serializer.

Apply this annotation with the same scope to an expect declaration and every actual declaration. Code generation emits one registration for the expect declaration.

@MetaSerializable
@Target(allowedTargets = [AnnotationTarget.CLASS])
expect annotation class CircuitSerializable(val scope: KClass<*>)(source)

Marks a concrete Screen or PopResult for serialization registration code generation in scope.

This annotation supplies the type's default kotlinx serializer. Add @Serializable(with = ...) only when the type uses a custom serializer.

Apply this annotation with the same scope to an expect declaration and every actual declaration. Code generation emits one registration for the expect declaration.

@MetaSerializable
@Target(allowedTargets = [AnnotationTarget.CLASS])
actual annotation class CircuitSerializable(val scope: KClass<*>)(source)

Marks a concrete Screen or PopResult for serialization registration code generation in scope.

This annotation supplies the type's default kotlinx serializer. Add @Serializable(with = ...) only when the type uses a custom serializer.

Apply this annotation with the same scope to an expect declaration and every actual declaration. Code generation emits one registration for the expect declaration.

@MetaSerializable
@Target(allowedTargets = [AnnotationTarget.CLASS])
actual annotation class CircuitSerializable(val scope: KClass<*>)(source)

Marks a concrete Screen or PopResult for serialization registration code generation in scope.

This annotation supplies the type's default kotlinx serializer. Add @Serializable(with = ...) only when the type uses a custom serializer.

Apply this annotation with the same scope to an expect declaration and every actual declaration. Code generation emits one registration for the expect declaration.

Properties

Link copied to clipboard
actual val scope: KClass<*>
expect val scope: KClass<*>
actual val scope: KClass<*>
actual val scope: KClass<*>