Exclude

Deprecated

Only the Android SDK's reflective mapping reads @Exclude; kotlinx.serialization's @Transient excludes the property on every platform

Replace with

import kotlinx.serialization.Transient
Transient

The SDK's exclusion annotation; kotlinx.serialization.Transient excludes a property on every platform.