getDevice method
Gets a Particular Paired from the list of paired devices from its Device(Mac) address
Implementation
Future<BtDevice?> getDevice(String address) async {
Map device =
await _channel.invokeMethod('getBtDevice', {"address": address});
if (device == null) {
return null;
}
BtDevice btDevice = BtDevice.fromJson(device);
return btDevice;
}