WriteDescriptorRequest constructor
WriteDescriptorRequest({})
Implementation
factory WriteDescriptorRequest({
$core.String? remoteId,
$core.String? descriptorUuid,
$core.String? serviceUuid,
$core.String? secondaryServiceUuid,
$core.String? characteristicUuid,
$core.List<$core.int>? value,
}) {
final _result = create();
if (remoteId != null) {
_result.remoteId = remoteId;
}
if (descriptorUuid != null) {
_result.descriptorUuid = descriptorUuid;
}
if (serviceUuid != null) {
_result.serviceUuid = serviceUuid;
}
if (secondaryServiceUuid != null) {
_result.secondaryServiceUuid = secondaryServiceUuid;
}
if (characteristicUuid != null) {
_result.characteristicUuid = characteristicUuid;
}
if (value != null) {
_result.value = value;
}
return _result;
}