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. bool? groupByShippingCase,
  9. String? userDepartmentId,
  10. String? userLocationId,
  11. String? userWarehouseId,
  12. String? customReportLayoutId,
  13. bool? isSummary,
  14. bool? includeSubHeadingsAndSubTotals,
  15. bool? includeIdColumns,
  16. String? locale,
  17. List<FwStandardModelsCheckBoxListItem>? excelfields,
  18. String? reportName,
  19. bool? useEmailTemplate,
})

Implementation

WebApiModulesReportsContractReportsInContractReportInContractReportRequest
copyWith({
  bool? showSwappedItems,
  String? exchangeContractId,
  String? contractId,
  String? appLanguageId,
  String? contractType,
  bool? includeSubVendor,
  bool? showImages,
  bool? groupByShippingCase,
  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,
    groupByShippingCase: groupByShippingCase ?? this.groupByShippingCase,
    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,
  );
}