onGattServerDisconnected property

Stream<Event> get onGattServerDisconnected

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

Stream<Event> get onGattServerDisconnected =>
    _nativeBluetoothInstance.onGattServerDisconnected;