closeSession method

  1. @override
Future<void> closeSession()
override

Closes the current session and cleans up resources.

Implementation

@override
Future<void> closeSession() async {
  _currentSession = null;
  _keyExchange = null;
  _negotiationResult = null;
  _sharedSecret = null;
}