copyWith method

FwStandardModulesSettingsWidgetSettingsWidgetWidget copyWith({
  1. bool? displayNumbers,
  2. String? filters,
  3. String? filterValues,
  4. String? mappedFilterValues,
  5. String? dateBehaviorId,
  6. String? dateField,
  7. DateTime? fromDate,
  8. DateTime? toDate,
  9. String? type,
  10. FwStandardModulesSettingsWidgetSettingsWidgetWidgetData? data,
  11. FwStandardModulesSettingsWidgetSettingsWidgetWidgetOptions? options,
  12. int? dataPoints,
  13. String? apiName,
  14. String? procedureName,
  15. String? counterFieldName,
  16. String? label1FieldName,
  17. String? label2FieldName,
  18. String? backgroundColorFieldName,
  19. String? borderColorFieldName,
  20. double? opacity,
  21. bool? stacked,
})

Implementation

FwStandardModulesSettingsWidgetSettingsWidgetWidget copyWith({
  bool? displayNumbers,
  String? filters,
  String? filterValues,
  String? mappedFilterValues,
  String? dateBehaviorId,
  String? dateField,
  DateTime? fromDate,
  DateTime? toDate,
  String? type,
  FwStandardModulesSettingsWidgetSettingsWidgetWidgetData? data,
  FwStandardModulesSettingsWidgetSettingsWidgetWidgetOptions? options,
  int? dataPoints,
  String? apiName,
  String? procedureName,
  String? counterFieldName,
  String? label1FieldName,
  String? label2FieldName,
  String? backgroundColorFieldName,
  String? borderColorFieldName,
  double? opacity,
  bool? stacked,
}) {
  return FwStandardModulesSettingsWidgetSettingsWidgetWidget(
    displayNumbers: displayNumbers ?? this.displayNumbers,
    filters: filters ?? this.filters,
    filterValues: filterValues ?? this.filterValues,
    mappedFilterValues: mappedFilterValues ?? this.mappedFilterValues,
    dateBehaviorId: dateBehaviorId ?? this.dateBehaviorId,
    dateField: dateField ?? this.dateField,
    fromDate: fromDate ?? this.fromDate,
    toDate: toDate ?? this.toDate,
    type: type ?? this.type,
    data: data ?? this.data,
    options: options ?? this.options,
    dataPoints: dataPoints ?? this.dataPoints,
    apiName: apiName ?? this.apiName,
    procedureName: procedureName ?? this.procedureName,
    counterFieldName: counterFieldName ?? this.counterFieldName,
    label1FieldName: label1FieldName ?? this.label1FieldName,
    label2FieldName: label2FieldName ?? this.label2FieldName,
    backgroundColorFieldName:
        backgroundColorFieldName ?? this.backgroundColorFieldName,
    borderColorFieldName: borderColorFieldName ?? this.borderColorFieldName,
    opacity: opacity ?? this.opacity,
    stacked: stacked ?? this.stacked,
  );
}