commonMain.pro.respawn.flowmvi.debugger.model.StoreState.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of debugger-common Show documentation
Show all versions of debugger-common Show documentation
A Kotlin Multiplatform MVI library based on coroutines with a powerful plugin system
The newest version!
package pro.respawn.flowmvi.debugger.model
import kotlinx.serialization.Serializable
import pro.respawn.flowmvi.api.MVIState
import pro.respawn.flowmvi.debugger.name
/**
* The remote state of the store
* @param name the label to display
* @param body string representation of the state
*/
@Serializable
public data class StoreState(
val name: String,
val body: String,
) {
public constructor(state: MVIState) : this(state.name, state.toString())
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy