copyWithWrapped method
Implementation
EntityRes copyWithWrapped(
{Wrapped<Object?>? entity, Wrapped<bool>? ok, Wrapped<String?>? msg}) {
return EntityRes(
entity: (entity != null ? entity.value : this.entity),
ok: (ok != null ? ok.value : this.ok),
msg: (msg != null ? msg.value : this.msg));
}