disconnectDevice method

  1. @override
Future<void> disconnectDevice(
  1. BluetoothDevice device
)
override

Implementation

@override
Future<void> disconnectDevice(BluetoothDevice device) async {
  await methodChannel.invokeMethod('disconnectDevice', {
    'id': device.id,
  });
}