disconnect static method

Future<bool> disconnect()

Implementation

static Future<bool> disconnect() async {
  if (_macAddressConnect.isNotEmpty) await WinBle.disconnect(_macAddressConnect);
  _macAddressConnect = "";
  _bluetooths = [];
  return true;
}