onError method

  1. @override
void onError(
  1. dynamic message
)
override

Implementation

@override
void onError(message) {
  logger.error(message);
  channel?.isConnected.add(false);
  _verifyReconnect();
}