toSnapshot

Wraps receiver in a Snapshot suitable for use with com.squareup.workflow1.StatefulWorkflow. Intended to allow use of @Parcelize.

Read the Parcelable back with toParcelable.