dispose method

void dispose()

Implementation

void dispose() {
  // ignore: discarded_futures
  _uploadKeysOnSync?.cancel();
  for (final sess in _outboundGroupSessions.values) {
    sess.dispose();
  }
  for (final entries in _inboundGroupSessions.values) {
    for (final sess in entries.values) {
      sess.dispose();
    }
  }
}