bluetoothDisconnect method

  1. @override
Future<String> bluetoothDisconnect()
override

disconnect connected device

Implementation

@override
Future<String> bluetoothDisconnect() async {
  btCtr = Completer();
  methodChannel.invokeMethod("bluetooth.disconnect");
  return await btCtr?.future;
}