copyWith method
WebApiModulesReportsWarehouseReportsWarehouseInboundReportWarehouseInboundReportRequest
copyWith({
- DateTime? fromDate,
- DateTime? toDate,
- String? warehouseId,
- String? departmentId,
- String? agentId,
- String? activityTypeId,
- List<
FwStandardModelsCheckBoxListItem> ? sortBy, - List<
FwStandardModelsSelectedCheckBoxListItem> ? orderTypes, - String? userDepartmentId,
- String? userLocationId,
- String? userWarehouseId,
- String? customReportLayoutId,
- bool? isSummary,
- bool? includeSubHeadingsAndSubTotals,
- bool? includeIdColumns,
- String? locale,
- List<
FwStandardModelsCheckBoxListItem> ? excelfields, - String? reportName,
- bool? useEmailTemplate,
Implementation
WebApiModulesReportsWarehouseReportsWarehouseInboundReportWarehouseInboundReportRequest
copyWith(
{DateTime? fromDate,
DateTime? toDate,
String? warehouseId,
String? departmentId,
String? agentId,
String? activityTypeId,
List<FwStandardModelsCheckBoxListItem>? sortBy,
List<FwStandardModelsSelectedCheckBoxListItem>? orderTypes,
String? userDepartmentId,
String? userLocationId,
String? userWarehouseId,
String? customReportLayoutId,
bool? isSummary,
bool? includeSubHeadingsAndSubTotals,
bool? includeIdColumns,
String? locale,
List<FwStandardModelsCheckBoxListItem>? excelfields,
String? reportName,
bool? useEmailTemplate}) {
return WebApiModulesReportsWarehouseReportsWarehouseInboundReportWarehouseInboundReportRequest(
fromDate: fromDate ?? this.fromDate,
toDate: toDate ?? this.toDate,
warehouseId: warehouseId ?? this.warehouseId,
departmentId: departmentId ?? this.departmentId,
agentId: agentId ?? this.agentId,
activityTypeId: activityTypeId ?? this.activityTypeId,
sortBy: sortBy ?? this.sortBy,
orderTypes: orderTypes ?? this.orderTypes,
userDepartmentId: userDepartmentId ?? this.userDepartmentId,
userLocationId: userLocationId ?? this.userLocationId,
userWarehouseId: userWarehouseId ?? this.userWarehouseId,
customReportLayoutId: customReportLayoutId ?? this.customReportLayoutId,
isSummary: isSummary ?? this.isSummary,
includeSubHeadingsAndSubTotals: includeSubHeadingsAndSubTotals ??
this.includeSubHeadingsAndSubTotals,
includeIdColumns: includeIdColumns ?? this.includeIdColumns,
locale: locale ?? this.locale,
excelfields: excelfields ?? this.excelfields,
reportName: reportName ?? this.reportName,
useEmailTemplate: useEmailTemplate ?? this.useEmailTemplate);
}