copyWith method

WebApiModulesReportsOrderReportsQuoteOrderMasterReportQuoteOrderMasterReportRequest copyWith({
  1. DateTime? fromDate,
  2. DateTime? toDate,
  3. String? dateType,
  4. bool? filterDates,
  5. String? officeLocationId,
  6. String? departmentId,
  7. String? customerId,
  8. String? dealTypeId,
  9. String? dealStatusId,
  10. String? dealId,
  11. String? agentId,
  12. List<FwStandardModelsSelectedCheckBoxListItem>? orderType,
  13. List<FwStandardModelsSelectedCheckBoxListItem>? quoteStatus,
  14. List<FwStandardModelsSelectedCheckBoxListItem>? orderStatus,
  15. List<FwStandardModelsCheckBoxListItem>? sortBy,
  16. String? userDepartmentId,
  17. String? userLocationId,
  18. String? userWarehouseId,
  19. String? customReportLayoutId,
  20. bool? isSummary,
  21. bool? includeSubHeadingsAndSubTotals,
  22. bool? includeIdColumns,
  23. String? locale,
  24. List<FwStandardModelsCheckBoxListItem>? excelfields,
  25. String? reportName,
  26. bool? useEmailTemplate,
})

Implementation

WebApiModulesReportsOrderReportsQuoteOrderMasterReportQuoteOrderMasterReportRequest
copyWith({
  DateTime? fromDate,
  DateTime? toDate,
  String? dateType,
  bool? filterDates,
  String? officeLocationId,
  String? departmentId,
  String? customerId,
  String? dealTypeId,
  String? dealStatusId,
  String? dealId,
  String? agentId,
  List<FwStandardModelsSelectedCheckBoxListItem>? orderType,
  List<FwStandardModelsSelectedCheckBoxListItem>? quoteStatus,
  List<FwStandardModelsSelectedCheckBoxListItem>? orderStatus,
  List<FwStandardModelsCheckBoxListItem>? sortBy,
  String? userDepartmentId,
  String? userLocationId,
  String? userWarehouseId,
  String? customReportLayoutId,
  bool? isSummary,
  bool? includeSubHeadingsAndSubTotals,
  bool? includeIdColumns,
  String? locale,
  List<FwStandardModelsCheckBoxListItem>? excelfields,
  String? reportName,
  bool? useEmailTemplate,
}) {
  return WebApiModulesReportsOrderReportsQuoteOrderMasterReportQuoteOrderMasterReportRequest(
    fromDate: fromDate ?? this.fromDate,
    toDate: toDate ?? this.toDate,
    dateType: dateType ?? this.dateType,
    filterDates: filterDates ?? this.filterDates,
    officeLocationId: officeLocationId ?? this.officeLocationId,
    departmentId: departmentId ?? this.departmentId,
    customerId: customerId ?? this.customerId,
    dealTypeId: dealTypeId ?? this.dealTypeId,
    dealStatusId: dealStatusId ?? this.dealStatusId,
    dealId: dealId ?? this.dealId,
    agentId: agentId ?? this.agentId,
    orderType: orderType ?? this.orderType,
    quoteStatus: quoteStatus ?? this.quoteStatus,
    orderStatus: orderStatus ?? this.orderStatus,
    sortBy: sortBy ?? this.sortBy,
    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,
  );
}