switchSession method
Set the session ID (e.g., on resume or fork).
Implementation
void switchSession(String newSessionId) {
_sessionId = newSessionId;
_sessionFile = null;
_pendingEntries.clear();
}
Set the session ID (e.g., on resume or fork).
void switchSession(String newSessionId) {
_sessionId = newSessionId;
_sessionFile = null;
_pendingEntries.clear();
}