serialize

Serializes the given NavigationResumeSnapshot into a string representation.

To deserialize the data, use the deserialize method.

Return

The string representation of the serialized NavigationResumeSnapshot or NavigationResumeSnapshotSerializationFailure in the case of a serialization failure.