connecting method

void connecting({
  1. required bool buffering,
})

Marks the agent as connecting.

Implementation

void connecting({required bool buffering}) {
  _state = _AgentLifecycle.connecting;
  _isBuffering = buffering;
  _error = null;
  notifyListeners();
}