connect method

  1. @override
Future<String?> connect(
  1. dynamic bluetoothId
)
override

Implementation

@override
Future<String?> connect(bluetoothId) async {
  final res = await methodChannel.invokeMethod<String>(
    "connect",
    {"bluetoothId": bluetoothId},
  );
  return res;
  // await methodChannel.invokeMethod<String>('$bluetoothId');
}