clearSession method

Future<void> clearSession(
  1. String sessionId
)

Implementation

Future<void> clearSession(String sessionId) async {
  await ApiDatabaseService().clearSession(sessionId);
  if (sessionId == _currentSessionId) {
    _currentSessionLogs.clear();
    _logController.add([]);
  }
}