title: Flutter Bloc package, yield state when native code invoke a method from dart
body: <p>In my bloc I have 2 streams. One is the <code>mapEventToState</code> where I can yield states, and I created a second one which is called from a function which is called by native code.</p>
  
  <p>The call:</p>
  
  <pre><code>checkStatus(_internalState).listen((data){});
  </code></pre>
  
  <p>The Stream:</p>
  
  <pre><code>Stream&lt;VpnConnectionState&gt; checkStatus(_internalState) async * {
  switch (_internalState) {
    case state.down:
      yield down();
      break;
    case state.up:
      yield up();
      break;
  }
  _previousState = _internalState;
  }
  </code></pre>
  
  <p>The problem is when I <code>yield</code> something in the <code>checkSatus</code> stream, is not arriving in my BlocBuilder. If is called from the stream <code>mapEventToState</code> is working. </p>