copyWith method

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

Implementation

WebApiModulesSettingsWidgetSettingsWidgetWidget2 copyWith(
    {String? locationId,
    String? warehouseId,
    String? departmentId,
    String? locationCodes,
    String? locations,
    String? dateBehaviorId,
    String? dateField,
    DateTime? fromDate,
    DateTime? toDate,
    String? type,
    WebApiModulesSettingsWidgetSettingsWidgetWidgetData? data,
    WebApiModulesSettingsWidgetSettingsWidgetWidgetOptions? options,
    int? dataPoints,
    String? apiName,
    String? procedureName,
    String? counterFieldName,
    String? label1FieldName,
    String? label2FieldName,
    String? backgroundColorFieldName,
    String? borderColorFieldName,
    double? opacity,
    bool? stacked}) {
  return WebApiModulesSettingsWidgetSettingsWidgetWidget2(
      locationId: locationId ?? this.locationId,
      warehouseId: warehouseId ?? this.warehouseId,
      departmentId: departmentId ?? this.departmentId,
      locationCodes: locationCodes ?? this.locationCodes,
      locations: locations ?? this.locations,
      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);
}