PROTOCOL

InteractionValueModel

public protocol InteractionValueModel: Sendable

A model that is used to represent an interactive item that contains a value String.

Properties

value

@MainActor var value: String

The value's String representation.

isRequired

var isRequired: Bool

Indicates if the value is required or not, which can be used to configure the interaction item presentation.