copyWith method

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

Implementation

FwStandardModulesSettingsWidgetSettingsWidgetWidgetDataSet copyWith({
  String? label,
  List<double>? data,
  List<String>? backgroundColor,
  List<String>? borderColor,
  int? borderWidth,
}) {
  return FwStandardModulesSettingsWidgetSettingsWidgetWidgetDataSet(
    label: label ?? this.label,
    data: data ?? this.data,
    backgroundColor: backgroundColor ?? this.backgroundColor,
    borderColor: borderColor ?? this.borderColor,
    borderWidth: borderWidth ?? this.borderWidth,
  );
}