 will be included in the list returned by <a href="../../flutter_midi_command/MidiCommand/devices.html">devices</a></p>
</section>


    
<section class="summary source-code" id="source">
  <h2><span>Implementation</span></h2>
  <pre class="language-dart"><code class="language-dart">Future&lt;void&gt; waitUntilBluetoothIsInitialized() async {
  bool isInitialized() =&gt; _bluetoothState != BluetoothState.unknown;

  print(_bluetoothState);

  if (isInitialized()) {
    return;
  }

  await for (final _ in o