terminateSessions method

void terminateSessions(
  1. Map<String, dynamic> options
)

Terminate ongoing sessions.

Implementation

void terminateSessions(Map<String, dynamic> options) {
  logger.debug('terminateSessions()');
  _sessions.forEach((String? key, _) {
    if (!_sessions[key]!.isEnded()) {
      _sessions[key]!.terminate(options);
    }
  });
}