js_web_bluetooth library Null safety

A library to make the Javascript web bluetooth api available in Dart. It's a direct conversion of the original API without any helpers.

Classes

Bluetooth
BluetoothScanFilter
BluetoothScanFilterHelper
NativeBluetooth
NativeBluetoothRemoteGATTServer
https://webbluetoothcg.github.io/web-bluetooth/#bluetoothgattremoteserver-interface https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTServer
RequestOptions
WebBluetoothCharacteristicProperties
https://webbluetoothcg.github.io/web-bluetooth/#characteristicproperties-interface https://developer.mozilla.org/en-US/docs/Web/API/BluetoothCharacteristicProperties
WebBluetoothConverters
WebBluetoothDevice
https://webbluetoothcg.github.io/web-bluetooth/#bluetoothdevice-interface https://developer.mozilla.org/en-US/docs/Web/API/BluetoothDevice
WebBluetoothRemoteGATTCharacteristic
Does not support "WebView Android" https://webbluetoothcg.github.io/web-bluetooth/#bluetoothgattcharacteristic-interface https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTCharacteristic
WebBluetoothRemoteGATTDescriptor
https://webbluetoothcg.github.io/web-bluetooth/#bluetoothgattdescriptor-interface https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTDescriptor
WebBluetoothRemoteGATTService
https://webbluetoothcg.github.io/web-bluetooth/#bluetoothgattservice-interface https://developer.mozilla.org/en-US/docs/Web/API/BluetoothRemoteGATTService

Functions

setNativeBluetooth(NativeBluetooth nativeBluetooth) → void
testingSetJSUtils(JSUtilsInterface utils) → void
This method is meant for testing!
testingSetNavigator(Object navigatorObject) → void
Change the navigator object used. This method is meant for testing!

Exceptions / Errors

DeviceNotFoundError
NativeAPINotImplementedError
UserCancelledDialogError