copyWith method
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,
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);
}