copyWithWrapped method

FwStandardModulesSettingsWidgetSettingsWidgetWidget copyWithWrapped({
  1. Wrapped<bool?>? displayNumbers,
  2. Wrapped<String?>? filters,
  3. Wrapped<String?>? filterValues,
  4. Wrapped<String?>? mappedFilterValues,
  5. Wrapped<String?>? dateBehaviorId,
  6. Wrapped<String?>? dateField,
  7. Wrapped<DateTime?>? fromDate,
  8. Wrapped<DateTime?>? toDate,
  9. Wrapped<int?>? timezoneOffset,
  10. Wrapped<String?>? type,
  11. Wrapped<FwStandardModulesSettingsWidgetSettingsWidgetWidgetData?>? data,
  12. Wrapped<FwStandardModulesSettingsWidgetSettingsWidgetWidgetOptions?>? 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

FwStandardModulesSettingsWidgetSettingsWidgetWidget copyWithWrapped({
  Wrapped<bool?>? displayNumbers,
  Wrapped<String?>? filters,
  Wrapped<String?>? filterValues,
  Wrapped<String?>? mappedFilterValues,
  Wrapped<String?>? dateBehaviorId,
  Wrapped<String?>? dateField,
  Wrapped<DateTime?>? fromDate,
  Wrapped<DateTime?>? toDate,
  Wrapped<int?>? timezoneOffset,
  Wrapped<String?>? type,
  Wrapped<FwStandardModulesSettingsWidgetSettingsWidgetWidgetData?>? data,
  Wrapped<FwStandardModulesSettingsWidgetSettingsWidgetWidgetOptions?>?
  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 FwStandardModulesSettingsWidgetSettingsWidgetWidget(
    displayNumbers: (displayNumbers != null
        ? displayNumbers.value
        : this.displayNumbers),
    filters: (filters != null ? filters.value : this.filters),
    filterValues: (filterValues != null
        ? filterValues.value
        : this.filterValues),
    mappedFilterValues: (mappedFilterValues != null
        ? mappedFilterValues.value
        : this.mappedFilterValues),
    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),
    timezoneOffset: (timezoneOffset != null
        ? timezoneOffset.value
        : this.timezoneOffset),
    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),
  );
}