FaketoothCharacteristic constructor
const
FaketoothCharacteristic({
- required String uuid,
- required Set<
FaketoothCharacteristicProperties> properties, - List<
FaketoothDescriptor> ? descriptors, - Uint8List? initialValue,
- Future<
Uint8List> valueProducer()?, - void valueHandler()?,
Creates a new instance of FaketoothCharacteristic.
The uuid and properties parameters are required, while the descriptors, initialValue, valueProducer, and valueHandler parameters are optional.
Implementation
const FaketoothCharacteristic({
required this.uuid,
required this.properties,
this.descriptors,
this.initialValue,
this.valueProducer,
this.valueHandler,
});