copyWith method

WebApiModulesReportsRateUpdateReportRateUpdateReportRequest copyWith({
  1. bool? pendingModificationsOnly,
  2. String? rateUpdateBatchId,
  3. String? userDepartmentId,
  4. String? userLocationId,
  5. String? userWarehouseId,
  6. String? customReportLayoutId,
  7. bool? isSummary,
  8. bool? includeSubHeadingsAndSubTotals,
  9. bool? includeIdColumns,
  10. String? locale,
  11. List<FwStandardModelsCheckBoxListItem>? excelfields,
  12. String? reportName,
  13. bool? useEmailTemplate,
})

Implementation

WebApiModulesReportsRateUpdateReportRateUpdateReportRequest copyWith(
    {bool? pendingModificationsOnly,
    String? rateUpdateBatchId,
    String? userDepartmentId,
    String? userLocationId,
    String? userWarehouseId,
    String? customReportLayoutId,
    bool? isSummary,
    bool? includeSubHeadingsAndSubTotals,
    bool? includeIdColumns,
    String? locale,
    List<FwStandardModelsCheckBoxListItem>? excelfields,
    String? reportName,
    bool? useEmailTemplate}) {
  return WebApiModulesReportsRateUpdateReportRateUpdateReportRequest(
      pendingModificationsOnly:
          pendingModificationsOnly ?? this.pendingModificationsOnly,
      rateUpdateBatchId: rateUpdateBatchId ?? this.rateUpdateBatchId,
      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);
}