requestDevice method
should return a promise (which will be converted to a future using
JSUtils.promiseToFuture
) with an Object. This object
should then be able to be converted to a WebBluetoothDevice using
WebBluetoothDevice.fromJSObject.
This method may throw a TypeError or a NotFoundError.
See:
Implementation
Object requestDevice(final RequestOptions options) =>
_NativeBluetooth.requestDevice(options);