descriptor method
Get descriptor by uuid
Implementation
BleDescriptor descriptor(String descriptorUuid) => descriptors.firstWhere(
(e) => BleUuidParser.compareStrings(e.uuid, descriptorUuid),
// ble_shield: was flutter_web_bluetooth's NotFoundError (Web not vendored).
orElse: () => throw StateError(
'No descriptor $descriptorUuid in characteristic $uuid',
),
);