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