withNewState

fun withNewState(kStateContainer: KStateContainer?, state: Any?): KStateContainer