copyWith method

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

Implementation

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