copyWithWrapped method

WebApiModulesSettingsWidgetSettingsWidgetWidget2 copyWithWrapped({
  1. Wrapped<String?>? locationId,
  2. Wrapped<String?>? warehouseId,
  3. Wrapped<String?>? departmentId,
  4. Wrapped<String?>? locationCodes,
  5. Wrapped<String?>? locations,
  6. Wrapped<String?>? dateBehaviorId,
  7. Wrapped<String?>? dateField,
  8. Wrapped<DateTime?>? fromDate,
  9. Wrapped<DateTime?>? toDate,
  10. Wrapped<String?>? type,
  11. Wrapped<WebApiModulesSettingsWidgetSettingsWidgetWidgetData?>? data,
  12. Wrapped<WebApiModulesSettingsWidgetSettingsWidgetWidgetOptions?>? options,
  13. Wrapped<int?>? dataPoints,
  14. Wrapped<String?>? apiName,
  15. Wrapped<String?>? procedureName,
  16. Wrapped<String?>? counterFieldName,
  17. Wrapped<String?>? label1FieldName,
  18. Wrapped<String?>? label2FieldName,
  19. Wrapped<String?>? backgroundColorFieldName,
  20. Wrapped<String?>? borderColorFieldName,
  21. Wrapped<double?>? opacity,
  22. 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));
}