resetSessionsAndClients static method
- String sessionKey
Implementation
static Future<void> resetSessionsAndClients(String sessionKey) async {
await _unrestoredInstance;
_clients.clear();
_sessionKey = sessionKey;
await storage.write(key: _sessionKey, value: json.encode([]));
}