copyWithWrapped method

WebApiModulesReportsOrderReportsIncomingShippingLabelIncomingShippingLabelRequest copyWithWrapped({
  1. Wrapped<String?>? orderId,
  2. Wrapped<String?>? shippingCaseId,
  3. Wrapped<String?>? weightInCase,
  4. Wrapped<bool?>? groupByShippingCase,
  5. Wrapped<String?>? userDepartmentId,
  6. Wrapped<String?>? userLocationId,
  7. Wrapped<String?>? userWarehouseId,
  8. Wrapped<String?>? customReportLayoutId,
  9. Wrapped<bool?>? isSummary,
  10. Wrapped<bool?>? includeSubHeadingsAndSubTotals,
  11. Wrapped<bool?>? includeIdColumns,
  12. Wrapped<String?>? locale,
  13. Wrapped<List<FwStandardModelsCheckBoxListItem>?>? excelfields,
  14. Wrapped<String?>? reportName,
  15. Wrapped<bool?>? useEmailTemplate,
})

Implementation

WebApiModulesReportsOrderReportsIncomingShippingLabelIncomingShippingLabelRequest
copyWithWrapped({
  Wrapped<String?>? orderId,
  Wrapped<String?>? shippingCaseId,
  Wrapped<String?>? weightInCase,
  Wrapped<bool?>? groupByShippingCase,
  Wrapped<String?>? userDepartmentId,
  Wrapped<String?>? userLocationId,
  Wrapped<String?>? userWarehouseId,
  Wrapped<String?>? customReportLayoutId,
  Wrapped<bool?>? isSummary,
  Wrapped<bool?>? includeSubHeadingsAndSubTotals,
  Wrapped<bool?>? includeIdColumns,
  Wrapped<String?>? locale,
  Wrapped<List<FwStandardModelsCheckBoxListItem>?>? excelfields,
  Wrapped<String?>? reportName,
  Wrapped<bool?>? useEmailTemplate,
}) {
  return WebApiModulesReportsOrderReportsIncomingShippingLabelIncomingShippingLabelRequest(
    orderId: (orderId != null ? orderId.value : this.orderId),
    shippingCaseId: (shippingCaseId != null
        ? shippingCaseId.value
        : this.shippingCaseId),
    weightInCase: (weightInCase != null
        ? weightInCase.value
        : this.weightInCase),
    groupByShippingCase: (groupByShippingCase != null
        ? groupByShippingCase.value
        : this.groupByShippingCase),
    userDepartmentId: (userDepartmentId != null
        ? userDepartmentId.value
        : this.userDepartmentId),
    userLocationId: (userLocationId != null
        ? userLocationId.value
        : this.userLocationId),
    userWarehouseId: (userWarehouseId != null
        ? userWarehouseId.value
        : this.userWarehouseId),
    customReportLayoutId: (customReportLayoutId != null
        ? customReportLayoutId.value
        : this.customReportLayoutId),
    isSummary: (isSummary != null ? isSummary.value : this.isSummary),
    includeSubHeadingsAndSubTotals: (includeSubHeadingsAndSubTotals != null
        ? includeSubHeadingsAndSubTotals.value
        : this.includeSubHeadingsAndSubTotals),
    includeIdColumns: (includeIdColumns != null
        ? includeIdColumns.value
        : this.includeIdColumns),
    locale: (locale != null ? locale.value : this.locale),
    excelfields: (excelfields != null ? excelfields.value : this.excelfields),
    reportName: (reportName != null ? reportName.value : this.reportName),
    useEmailTemplate: (useEmailTemplate != null
        ? useEmailTemplate.value
        : this.useEmailTemplate),
  );
}