copyWithWrapped method

WebApiModulesAgentScheduleBarCodeReservationResource copyWithWrapped({
  1. Wrapped<String?>? name,
  2. Wrapped<String?>? id,
  3. Wrapped<String?>? backColor,
  4. Wrapped<String?>? leftBarColor,
  5. Wrapped<String?>? orderItemId,
  6. Wrapped<String?>? barCode,
  7. Wrapped<String?>? rentalItemId,
  8. Wrapped<String?>? frozen,
  9. Wrapped<bool?>? qcRequired,
  10. Wrapped<String?>? qcRequiredColor,
  11. Wrapped<String?>? inventoryId,
  12. Wrapped<String?>? warehouseId,
  13. Wrapped<String?>? consignor,
  14. Wrapped<List<WebApiModulesAgentScheduleBarCodeReservationResource>?>? children,
})

Implementation

WebApiModulesAgentScheduleBarCodeReservationResource copyWithWrapped(
    {Wrapped<String?>? name,
    Wrapped<String?>? id,
    Wrapped<String?>? backColor,
    Wrapped<String?>? leftBarColor,
    Wrapped<String?>? orderItemId,
    Wrapped<String?>? barCode,
    Wrapped<String?>? rentalItemId,
    Wrapped<String?>? frozen,
    Wrapped<bool?>? qcRequired,
    Wrapped<String?>? qcRequiredColor,
    Wrapped<String?>? inventoryId,
    Wrapped<String?>? warehouseId,
    Wrapped<String?>? consignor,
    Wrapped<List<WebApiModulesAgentScheduleBarCodeReservationResource>?>?
        children}) {
  return WebApiModulesAgentScheduleBarCodeReservationResource(
      name: (name != null ? name.value : this.name),
      id: (id != null ? id.value : this.id),
      backColor: (backColor != null ? backColor.value : this.backColor),
      leftBarColor:
          (leftBarColor != null ? leftBarColor.value : this.leftBarColor),
      orderItemId:
          (orderItemId != null ? orderItemId.value : this.orderItemId),
      barCode: (barCode != null ? barCode.value : this.barCode),
      rentalItemId:
          (rentalItemId != null ? rentalItemId.value : this.rentalItemId),
      frozen: (frozen != null ? frozen.value : this.frozen),
      qcRequired: (qcRequired != null ? qcRequired.value : this.qcRequired),
      qcRequiredColor: (qcRequiredColor != null
          ? qcRequiredColor.value
          : this.qcRequiredColor),
      inventoryId:
          (inventoryId != null ? inventoryId.value : this.inventoryId),
      warehouseId:
          (warehouseId != null ? warehouseId.value : this.warehouseId),
      consignor: (consignor != null ? consignor.value : this.consignor),
      children: (children != null ? children.value : this.children));
}