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;
}