HistoryState

data class HistoryState(val loading: Boolean = true, val items: List<AiGenerationResult> = emptyList(), val error: String? = null) : MviState(source)

Carries HistoryState data through the SDAI presentation layer.

Author

Dmitriy Moroz

Constructors

Link copied to clipboard
constructor(loading: Boolean = true, items: List<AiGenerationResult> = emptyList(), error: String? = null)

Properties

Link copied to clipboard

Exposes the error value used by the SDAI presentation layer.

Link copied to clipboard

Exposes the items value used by the SDAI presentation layer.

Link copied to clipboard

Exposes the loading value used by the SDAI presentation layer.