dispose method
void
dispose()
Destroys controller and channelsManager making this instance unusable.
Implementation
void dispose() {
if (_isDisposed) {
throw const PusherChannelsClientDisposedException();
}
_isDisposed = true;
controller.dispose();
channelsManager.dispose();
}