copyWith method

WebApiModulesReportsCrewReportsCrewSignInReportCrewSignInReportRequest copyWith({
  1. DateTime? fromDate,
  2. DateTime? toDate,
  3. String? officeLocationId,
  4. String? departmentId,
  5. String? customerId,
  6. String? dealId,
  7. String? orderId,
  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

WebApiModulesReportsCrewReportsCrewSignInReportCrewSignInReportRequest
    copyWith(
        {DateTime? fromDate,
        DateTime? toDate,
        String? officeLocationId,
        String? departmentId,
        String? customerId,
        String? dealId,
        String? orderId,
        String? userDepartmentId,
        String? userLocationId,
        String? userWarehouseId,
        String? customReportLayoutId,
        bool? isSummary,
        bool? includeSubHeadingsAndSubTotals,
        bool? includeIdColumns,
        String? locale,
        List<FwStandardModelsCheckBoxListItem>? excelfields,
        String? reportName,
        bool? useEmailTemplate}) {
  return WebApiModulesReportsCrewReportsCrewSignInReportCrewSignInReportRequest(
      fromDate: fromDate ?? this.fromDate,
      toDate: toDate ?? this.toDate,
      officeLocationId: officeLocationId ?? this.officeLocationId,
      departmentId: departmentId ?? this.departmentId,
      customerId: customerId ?? this.customerId,
      dealId: dealId ?? this.dealId,
      orderId: orderId ?? this.orderId,
      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);
}