copyWithWrapped method

WebApiServicesAvailabilityServiceTPackageAccessory copyWithWrapped({
  1. Wrapped<String?>? inventoryId,
  2. Wrapped<double?>? defaultQuantity,
})

Implementation

WebApiServicesAvailabilityServiceTPackageAccessory copyWithWrapped(
    {Wrapped<String?>? inventoryId, Wrapped<double?>? defaultQuantity}) {
  return WebApiServicesAvailabilityServiceTPackageAccessory(
      inventoryId:
          (inventoryId != null ? inventoryId.value : this.inventoryId),
      defaultQuantity: (defaultQuantity != null
          ? defaultQuantity.value
          : this.defaultQuantity));
}