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