onDone method

  1. @protected
void onDone()

OnDone listener callback

Implementation

@protected
void onDone() {
  _disconnect();
  if (onDisconnected != null) {
    MqttLogger.log(
        'MqttConnectionBase::_onDone - calling disconnected callback');
    onDisconnected!();
  }
}