copyWithWrapped method
Implementation
SearchDeviceRes copyWithWrapped(
{Wrapped<List<Device>?>? entities,
Wrapped<bool>? ok,
Wrapped<String?>? msg,
Wrapped<int?>? page,
Wrapped<int?>? size,
Wrapped<int?>? total}) {
return SearchDeviceRes(
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));
}