WebBluetoothDevice.fromEvent constructor
WebBluetoothDevice.fromEvent(
- Object event
Create a new instance form an advertisementreceived
event.
This should only be done by the library of if you're testing.
To get an instance use Bluetooth.requestDevice.
Implementation
factory WebBluetoothDevice.fromEvent(final Object event) =>
WebBluetoothDevice.fromJSObject(_JSUtil.getProperty(event, "device"));