copyWithWrapped method

FwStandardModulesSettingsWidgetSettingsWidgetWidgetDataSet copyWithWrapped({
  1. Wrapped<String?>? label,
  2. Wrapped<List<double>?>? data,
  3. Wrapped<List<String>?>? backgroundColor,
  4. Wrapped<List<String>?>? borderColor,
  5. Wrapped<int?>? borderWidth,
})

Implementation

FwStandardModulesSettingsWidgetSettingsWidgetWidgetDataSet copyWithWrapped({
  Wrapped<String?>? label,
  Wrapped<List<double>?>? data,
  Wrapped<List<String>?>? backgroundColor,
  Wrapped<List<String>?>? borderColor,
  Wrapped<int?>? borderWidth,
}) {
  return FwStandardModulesSettingsWidgetSettingsWidgetWidgetDataSet(
    label: (label != null ? label.value : this.label),
    data: (data != null ? data.value : this.data),
    backgroundColor: (backgroundColor != null
        ? backgroundColor.value
        : this.backgroundColor),
    borderColor: (borderColor != null ? borderColor.value : this.borderColor),
    borderWidth: (borderWidth != null ? borderWidth.value : this.borderWidth),
  );
}