copyWithWrapped method

WebApiModulesUtilitiesMigrateUpdateMigrateItemResponse copyWithWrapped({
  1. Wrapped<int?>? newQuantity,
  2. Wrapped<int?>? status,
  3. Wrapped<bool?>? success,
  4. Wrapped<String?>? msg,
})

Implementation

WebApiModulesUtilitiesMigrateUpdateMigrateItemResponse copyWithWrapped(
    {Wrapped<int?>? newQuantity,
    Wrapped<int?>? status,
    Wrapped<bool?>? success,
    Wrapped<String?>? msg}) {
  return WebApiModulesUtilitiesMigrateUpdateMigrateItemResponse(
      newQuantity:
          (newQuantity != null ? newQuantity.value : this.newQuantity),
      status: (status != null ? status.value : this.status),
      success: (success != null ? success.value : this.success),
      msg: (msg != null ? msg.value : this.msg));
}