connectBluetoothDevice method

Future<bool> connectBluetoothDevice(
  1. String deviceName
)

Used to connect to the ble device.

Requires btdevice plugin.

Implementation

Future<bool> connectBluetoothDevice(String deviceName) async {
  return await _bridge.invokeMethod("connectBluetoothDevice", [deviceName]);
}