closeConnection method

  1. @override
void closeConnection()
override

Implementation

@override
void closeConnection() {
  _closeGateways();
  _session = BridgeSession();
  _gateway = null;
  _pendingRequests = {};
  _listeners = [];
}