PlatformValue

data class PlatformValue<T>(val android: T, val ios: T)(source)

Small value holder for metadata that can differ between Android and iOS.

It is used for provider readiness and similar catalog fields where a single domain enum should stay stable while the user-facing platform status differs.

Constructors

Link copied to clipboard
constructor(android: T, ios: T)
constructor(value: T)

Properties

Link copied to clipboard
val android: T
Link copied to clipboard
val ios: T

Functions

Link copied to clipboard
operator fun get(platform: Platform): T