restart method
Implementation
SdkResult<GameSessionSnapshot> restart() {
snapshot.value = const GameSessionSnapshot(GameSessionPhase.loading);
// Resets, not appends — `events` is this session's history, and a
// restart starts a NEW session; keeping every prior session's history
// here would grow unboundedly across many restarts (e.g. an
// endless-runner replayed hundreds of times in one long app run).
events.assignAll([GameSessionPhase.loading]);
// ENH-96: same reset posture for the timeline — a fresh Stopwatch so
// offsets restart from 0, not a continuation of the previous run's
// elapsed time.
_initTimeline();
return SdkSuccess(snapshot.value);
}