gattServerDisconnectedEvent constant

EventStreamProvider<Event> const gattServerDisconnectedEvent

An event fired when the gatt server disconnects. Either the NativeBluetoothRemoteGATTServer.disconnect method was called. Or the device is out of range/ turned off.

This event will bubble through the WebBluetoothDevice to the root Bluetooth instance.

Implementation

static const EventStreamProvider<Event> gattServerDisconnectedEvent =
    EventStreamProvider<Event>("gattserverdisconnected");