copyWithWrapped method
WebApiModulesSettingsWidgetSettingsWidgetWidget2
copyWithWrapped({
- Wrapped<
String?> ? locationId, - Wrapped<
String?> ? warehouseId, - Wrapped<
String?> ? departmentId, - Wrapped<
String?> ? locationCodes, - Wrapped<
String?> ? locations, - Wrapped<
String?> ? dateBehaviorId, - Wrapped<
String?> ? dateField, - Wrapped<
DateTime?> ? fromDate, - Wrapped<
DateTime?> ? toDate, - Wrapped<
String?> ? type, - Wrapped<
WebApiModulesSettingsWidgetSettingsWidgetWidgetData?> ? data, - Wrapped<
WebApiModulesSettingsWidgetSettingsWidgetWidgetOptions?> ? options, - Wrapped<
int?> ? dataPoints, - Wrapped<
String?> ? apiName, - Wrapped<
String?> ? procedureName, - Wrapped<
String?> ? counterFieldName, - Wrapped<
String?> ? label1FieldName, - Wrapped<
String?> ? label2FieldName, - Wrapped<
String?> ? backgroundColorFieldName, - Wrapped<
String?> ? borderColorFieldName, - Wrapped<
double?> ? opacity, - Wrapped<
bool?> ? stacked,
Implementation
WebApiModulesSettingsWidgetSettingsWidgetWidget2 copyWithWrapped(
{Wrapped<String?>? locationId,
Wrapped<String?>? warehouseId,
Wrapped<String?>? departmentId,
Wrapped<String?>? locationCodes,
Wrapped<String?>? locations,
Wrapped<String?>? dateBehaviorId,
Wrapped<String?>? dateField,
Wrapped<DateTime?>? fromDate,
Wrapped<DateTime?>? toDate,
Wrapped<String?>? type,
Wrapped<WebApiModulesSettingsWidgetSettingsWidgetWidgetData?>? data,
Wrapped<WebApiModulesSettingsWidgetSettingsWidgetWidgetOptions?>? options,
Wrapped<int?>? dataPoints,
Wrapped<String?>? apiName,
Wrapped<String?>? procedureName,
Wrapped<String?>? counterFieldName,
Wrapped<String?>? label1FieldName,
Wrapped<String?>? label2FieldName,
Wrapped<String?>? backgroundColorFieldName,
Wrapped<String?>? borderColorFieldName,
Wrapped<double?>? opacity,
Wrapped<bool?>? stacked}) {
return WebApiModulesSettingsWidgetSettingsWidgetWidget2(
locationId: (locationId != null ? locationId.value : this.locationId),
warehouseId:
(warehouseId != null ? warehouseId.value : this.warehouseId),
departmentId:
(departmentId != null ? departmentId.value : this.departmentId),
locationCodes:
(locationCodes != null ? locationCodes.value : this.locationCodes),
locations: (locations != null ? locations.value : this.locations),
dateBehaviorId: (dateBehaviorId != null
? dateBehaviorId.value
: this.dateBehaviorId),
dateField: (dateField != null ? dateField.value : this.dateField),
fromDate: (fromDate != null ? fromDate.value : this.fromDate),
toDate: (toDate != null ? toDate.value : this.toDate),
type: (type != null ? type.value : this.type),
data: (data != null ? data.value : this.data),
options: (options != null ? options.value : this.options),
dataPoints: (dataPoints != null ? dataPoints.value : this.dataPoints),
apiName: (apiName != null ? apiName.value : this.apiName),
procedureName:
(procedureName != null ? procedureName.value : this.procedureName),
counterFieldName: (counterFieldName != null
? counterFieldName.value
: this.counterFieldName),
label1FieldName: (label1FieldName != null
? label1FieldName.value
: this.label1FieldName),
label2FieldName: (label2FieldName != null
? label2FieldName.value
: this.label2FieldName),
backgroundColorFieldName: (backgroundColorFieldName != null
? backgroundColorFieldName.value
: this.backgroundColorFieldName),
borderColorFieldName: (borderColorFieldName != null
? borderColorFieldName.value
: this.borderColorFieldName),
opacity: (opacity != null ? opacity.value : this.opacity),
stacked: (stacked != null ? stacked.value : this.stacked));
}