copyWith method

WebApiModulesReportsOrderChangeReportOrderChangeReportRequest copyWith({
  1. String? orderType,
  2. String? orderId,
  3. String? quoteId,
  4. String? fromDate,
  5. String? fromTime,
  6. String? toDate,
  7. String? toTime,
  8. String? filterBy,
  9. int? hoursOffsetFromUTC,
  10. bool? excludeZeroVariance,
  11. String? userDepartmentId,
  12. String? userLocationId,
  13. String? userWarehouseId,
  14. String? customReportLayoutId,
  15. bool? isSummary,
  16. bool? includeSubHeadingsAndSubTotals,
  17. bool? includeIdColumns,
  18. String? locale,
  19. List<FwStandardModelsCheckBoxListItem>? excelfields,
  20. String? reportName,
  21. bool? useEmailTemplate,
})

Implementation

WebApiModulesReportsOrderChangeReportOrderChangeReportRequest copyWith({
  String? orderType,
  String? orderId,
  String? quoteId,
  String? fromDate,
  String? fromTime,
  String? toDate,
  String? toTime,
  String? filterBy,
  int? hoursOffsetFromUTC,
  bool? excludeZeroVariance,
  String? userDepartmentId,
  String? userLocationId,
  String? userWarehouseId,
  String? customReportLayoutId,
  bool? isSummary,
  bool? includeSubHeadingsAndSubTotals,
  bool? includeIdColumns,
  String? locale,
  List<FwStandardModelsCheckBoxListItem>? excelfields,
  String? reportName,
  bool? useEmailTemplate,
}) {
  return WebApiModulesReportsOrderChangeReportOrderChangeReportRequest(
    orderType: orderType ?? this.orderType,
    orderId: orderId ?? this.orderId,
    quoteId: quoteId ?? this.quoteId,
    fromDate: fromDate ?? this.fromDate,
    fromTime: fromTime ?? this.fromTime,
    toDate: toDate ?? this.toDate,
    toTime: toTime ?? this.toTime,
    filterBy: filterBy ?? this.filterBy,
    hoursOffsetFromUTC: hoursOffsetFromUTC ?? this.hoursOffsetFromUTC,
    excludeZeroVariance: excludeZeroVariance ?? this.excludeZeroVariance,
    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,
  );
}