copyWithWrapped method

SearchDeviceModelRes copyWithWrapped({
  1. Wrapped<List<DeviceModel>?>? entities,
  2. Wrapped<bool>? ok,
  3. Wrapped<String?>? msg,
  4. Wrapped<int?>? page,
  5. Wrapped<int?>? size,
  6. Wrapped<int?>? total,
})

Implementation

SearchDeviceModelRes copyWithWrapped(
    {Wrapped<List<DeviceModel>?>? entities,
    Wrapped<bool>? ok,
    Wrapped<String?>? msg,
    Wrapped<int?>? page,
    Wrapped<int?>? size,
    Wrapped<int?>? total}) {
  return SearchDeviceModelRes(
      entities: (entities != null ? entities.value : this.entities),
      ok: (ok != null ? ok.value : this.ok),
      msg: (msg != null ? msg.value : this.msg),
      page: (page != null ? page.value : this.page),
      size: (size != null ? size.value : this.size),
      total: (total != null ? total.value : this.total));
}