isBluetoothAPISupported static method
Check to see if the Bluetooth api is even support in the current browser.
Will return false if bluetooth isn't part of the navigator object. This can happen if the site isn't viewed in a secure context or the api isn't available in the browser.
Implementation
static bool isBluetoothAPISupported() {
final hasProperty = _JSUtil.hasProperty(_getNavigator(), "bluetooth");
return hasProperty;
}