copyWith method

WebApiModulesReportsContractReportsInContractReportInContractReportRequest copyWith({
  1. bool? showSwappedItems,
  2. String? exchangeContractId,
  3. String? contractId,
  4. String? appLanguageId,
  5. String? contractType,
  6. bool? includeSubVendor,
  7. bool? showImages,
  8. String? userDepartmentId,
  9. String? userLocationId,
  10. String? userWarehouseId,
  11. String? customReportLayoutId,
  12. bool? isSummary,
  13. bool? includeSubHeadingsAndSubTotals,
  14. bool? includeIdColumns,
  15. String? locale,
  16. List<FwStandardModelsCheckBoxListItem>? excelfields,
  17. String? reportName,
  18. bool? useEmailTemplate,
})

Implementation

WebApiModulesReportsContractReportsInContractReportInContractReportRequest
    copyWith(
        {bool? showSwappedItems,
        String? exchangeContractId,
        String? contractId,
        String? appLanguageId,
        String? contractType,
        bool? includeSubVendor,
        bool? showImages,
        String? userDepartmentId,
        String? userLocationId,
        String? userWarehouseId,
        String? customReportLayoutId,
        bool? isSummary,
        bool? includeSubHeadingsAndSubTotals,
        bool? includeIdColumns,
        String? locale,
        List<FwStandardModelsCheckBoxListItem>? excelfields,
        String? reportName,
        bool? useEmailTemplate}) {
  return WebApiModulesReportsContractReportsInContractReportInContractReportRequest(
      showSwappedItems: showSwappedItems ?? this.showSwappedItems,
      exchangeContractId: exchangeContractId ?? this.exchangeContractId,
      contractId: contractId ?? this.contractId,
      appLanguageId: appLanguageId ?? this.appLanguageId,
      contractType: contractType ?? this.contractType,
      includeSubVendor: includeSubVendor ?? this.includeSubVendor,
      showImages: showImages ?? this.showImages,
      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);
}