copyWithWrapped method

WebApiModulesAgentOrderItemSplitOrderItemRequest copyWithWrapped({
  1. Wrapped<String?>? orderId,
  2. Wrapped<String?>? orderItemId,
  3. Wrapped<double?>? splitQuantity,
  4. Wrapped<double?>? splitConsignQuantity,
  5. Wrapped<bool?>? splitEntirePackage,
  6. Wrapped<bool?>? separateLine,
  7. Wrapped<bool?>? notYetStagedOnly,
  8. Wrapped<bool?>? stagedOutOnly,
  9. Wrapped<bool?>? outOnly,
  10. Wrapped<bool?>? inOnly,
  11. Wrapped<String?>? consignorId,
  12. Wrapped<String?>? consignorAgreementId,
  13. Wrapped<bool?>? reSortItemsAfterSplit,
})

Implementation

WebApiModulesAgentOrderItemSplitOrderItemRequest copyWithWrapped({
  Wrapped<String?>? orderId,
  Wrapped<String?>? orderItemId,
  Wrapped<double?>? splitQuantity,
  Wrapped<double?>? splitConsignQuantity,
  Wrapped<bool?>? splitEntirePackage,
  Wrapped<bool?>? separateLine,
  Wrapped<bool?>? notYetStagedOnly,
  Wrapped<bool?>? stagedOutOnly,
  Wrapped<bool?>? outOnly,
  Wrapped<bool?>? inOnly,
  Wrapped<String?>? consignorId,
  Wrapped<String?>? consignorAgreementId,
  Wrapped<bool?>? reSortItemsAfterSplit,
}) {
  return WebApiModulesAgentOrderItemSplitOrderItemRequest(
    orderId: (orderId != null ? orderId.value : this.orderId),
    orderItemId: (orderItemId != null ? orderItemId.value : this.orderItemId),
    splitQuantity: (splitQuantity != null
        ? splitQuantity.value
        : this.splitQuantity),
    splitConsignQuantity: (splitConsignQuantity != null
        ? splitConsignQuantity.value
        : this.splitConsignQuantity),
    splitEntirePackage: (splitEntirePackage != null
        ? splitEntirePackage.value
        : this.splitEntirePackage),
    separateLine: (separateLine != null
        ? separateLine.value
        : this.separateLine),
    notYetStagedOnly: (notYetStagedOnly != null
        ? notYetStagedOnly.value
        : this.notYetStagedOnly),
    stagedOutOnly: (stagedOutOnly != null
        ? stagedOutOnly.value
        : this.stagedOutOnly),
    outOnly: (outOnly != null ? outOnly.value : this.outOnly),
    inOnly: (inOnly != null ? inOnly.value : this.inOnly),
    consignorId: (consignorId != null ? consignorId.value : this.consignorId),
    consignorAgreementId: (consignorAgreementId != null
        ? consignorAgreementId.value
        : this.consignorAgreementId),
    reSortItemsAfterSplit: (reSortItemsAfterSplit != null
        ? reSortItemsAfterSplit.value
        : this.reSortItemsAfterSplit),
  );
}