canPair static method

Future<bool> canPair(
  1. String address
)

canPair will return a boolean

Implementation

static Future<bool> canPair(String address) async {
  try {
    var result = await _channel.invokeMethod("canPair", args: {
      "device": WinHelper.getDeviceFromAddress(address),
    });
    return result != null && result;
  } catch (e) {
    rethrow;
  }
}