copyWith method

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

Implementation

WebApiModulesReportsContractReportsReceiveContractReportReceiveContractReportRequest
    copyWith(
        {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 WebApiModulesReportsContractReportsReceiveContractReportReceiveContractReportRequest(
      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);
}