withState
Creates a new MaterializedSnapshot with the specified state.
Return
A new MaterializedSnapshot with the updated state.
Parameters
state
The new state data for the snapshot.
Creates a new MaterializedSnapshot with the specified state.
A new MaterializedSnapshot with the updated state.
The new state data for the snapshot.