copyWithWrapped method
Condition
copyWithWrapped({
- Wrapped<
String> ? name, - Wrapped<
String?> ? description, - Wrapped<
String> ? deviceModelId, - Wrapped<
String?> ? icon, - Wrapped<
String> ? field, - Wrapped<
ConditionCondition> ? condition, - Wrapped<
String?> ? value, - Wrapped<
String?> ? leftValue, - Wrapped<
String?> ? rightValue, - Wrapped<
List< ? values,String> ?> - Wrapped<
String?> ? id, - Wrapped<
String> ? $id, - Wrapped<
int?> ? cstamp, - Wrapped<
String?> ? cby, - Wrapped<
String?> ? uby, - Wrapped<
int?> ? ustamp,
Implementation
Condition copyWithWrapped(
{Wrapped<String>? name,
Wrapped<String?>? description,
Wrapped<String>? deviceModelId,
Wrapped<String?>? icon,
Wrapped<String>? field,
Wrapped<enums.ConditionCondition>? condition,
Wrapped<String?>? value,
Wrapped<String?>? leftValue,
Wrapped<String?>? rightValue,
Wrapped<List<String>?>? values,
Wrapped<String?>? id,
Wrapped<String>? $id,
Wrapped<int?>? cstamp,
Wrapped<String?>? cby,
Wrapped<String?>? uby,
Wrapped<int?>? ustamp}) {
return Condition(
name: (name != null ? name.value : this.name),
description:
(description != null ? description.value : this.description),
deviceModelId:
(deviceModelId != null ? deviceModelId.value : this.deviceModelId),
icon: (icon != null ? icon.value : this.icon),
field: (field != null ? field.value : this.field),
condition: (condition != null ? condition.value : this.condition),
value: (value != null ? value.value : this.value),
leftValue: (leftValue != null ? leftValue.value : this.leftValue),
rightValue: (rightValue != null ? rightValue.value : this.rightValue),
values: (values != null ? values.value : this.values),
id: (id != null ? id.value : this.id),
$id: ($id != null ? $id.value : this.$id),
cstamp: (cstamp != null ? cstamp.value : this.cstamp),
cby: (cby != null ? cby.value : this.cby),
uby: (uby != null ? uby.value : this.uby),
ustamp: (ustamp != null ? ustamp.value : this.ustamp));
}