pair static method
pair will send a pairing command it will be completed on Successful Pairing or it will throw Error on Unsuccessful Pairing
Implementation
static Future<void> pair(String address) async {
try {
var result = await _channel.invokeMethod("pair", args: {
"device": WinHelper.getDeviceFromAddress(address),
});
if (result == null || result != "Paired") {
throw result;
}
} catch (e) {
rethrow;
}
}