copyWithWrapped method

WebApiModulesInventoryPhysicalInventoryPhysicalInventoryApproveResponse copyWithWrapped({
  1. Wrapped<int?>? status,
  2. Wrapped<bool?>? success,
  3. Wrapped<String?>? msg,
  4. Wrapped<bool?>? approved,
  5. Wrapped<String?>? message,
  6. Wrapped<int?>? $status,
})

Implementation

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