toAddressBC static method

Future<BluetoothConnection> toAddressBC(
  1. String? address
)

Implementation

static Future<BluetoothConnection> toAddressBC(String? address) async {
  // Sorry for pseudo-factory, but `factory` keyword disallows `Future`.
  return BluetoothConnection._consumeConnectionID(await FlutterBluetoothSerial
      ._methodChannel
      .invokeMethod('connect', {"address": address, "isLE": false}));
}