copyWithKey

fun copyWithKey(key: String, value: Any?): TableState

Returns a copy of this state with the named slice replaced by value. Used by makeStateUpdater to assemble the new state after applying an Updater.