BluetoothService constructor

BluetoothService(
  1. WebBluetoothRemoteGATTService _bluetoothService
)

A constructor for a new service.

This should only be done by the library or if you're testing.

To get an instance use BluetoothDevice.discoverServices or the BluetoothDevice.services stream.

Implementation

BluetoothService(this._bluetoothService);