BluetoothGattDescriptor constructor
const
BluetoothGattDescriptor({})
创建 GATT 描述符。
参数:
uuid:描述符 UUID,无默认值。characteristicUuid:所属特征 UUID,默认null。value:描述符初始值,默认const <int>[]。raw:原生完整字段,默认const <String, dynamic>{}。
Implementation
const BluetoothGattDescriptor({
required this.uuid,
this.characteristicUuid,
this.value = const <int>[],
this.raw = const <String, dynamic>{},
});