startClient method

Future<bool> startClient(
  1. int? position, [
  2. bool isSecure = false
])

Starts Bluetooth Client, now the device works as a bluetooth client

Implementation

Future<bool> startClient(int? position, [bool isSecure = false]) async {
  var result = await _channel.invokeMethod('startClient', {
    "index": position ?? 0,
    "isSecure": isSecure,
  });
  return result ?? false;
}