copyWith method

WebApiModulesReportsOrderReportsQuikActivityReportQuikActivityReportRequest copyWith({
  1. DateTime? fromDate,
  2. DateTime? toDate,
  3. List<FwStandardModelsSelectedCheckBoxListItem>? orderType,
  4. String? warehouseId,
  5. String? departmentId,
  6. String? activityTypeId,
  7. String? inventoryTypeId,
  8. String? agentId,
  9. String? customReportLayoutId,
  10. bool? isSummary,
  11. bool? includeSubHeadingsAndSubTotals,
  12. bool? includeIdColumns,
  13. String? locale,
  14. List<FwStandardModelsCheckBoxListItem>? excelfields,
})

Implementation

WebApiModulesReportsOrderReportsQuikActivityReportQuikActivityReportRequest
    copyWith(
        {DateTime? fromDate,
        DateTime? toDate,
        List<FwStandardModelsSelectedCheckBoxListItem>? orderType,
        String? warehouseId,
        String? departmentId,
        String? activityTypeId,
        String? inventoryTypeId,
        String? agentId,
        String? customReportLayoutId,
        bool? isSummary,
        bool? includeSubHeadingsAndSubTotals,
        bool? includeIdColumns,
        String? locale,
        List<FwStandardModelsCheckBoxListItem>? excelfields}) {
  return WebApiModulesReportsOrderReportsQuikActivityReportQuikActivityReportRequest(
      fromDate: fromDate ?? this.fromDate,
      toDate: toDate ?? this.toDate,
      orderType: orderType ?? this.orderType,
      warehouseId: warehouseId ?? this.warehouseId,
      departmentId: departmentId ?? this.departmentId,
      activityTypeId: activityTypeId ?? this.activityTypeId,
      inventoryTypeId: inventoryTypeId ?? this.inventoryTypeId,
      agentId: agentId ?? this.agentId,
      customReportLayoutId: customReportLayoutId ?? this.customReportLayoutId,
      isSummary: isSummary ?? this.isSummary,
      includeSubHeadingsAndSubTotals: includeSubHeadingsAndSubTotals ??
          this.includeSubHeadingsAndSubTotals,
      includeIdColumns: includeIdColumns ?? this.includeIdColumns,
      locale: locale ?? this.locale,
      excelfields: excelfields ?? this.excelfields);
}