copyWithWrapped method

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

Implementation

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