copyWithWrapped method
BaseEntity
copyWithWrapped(
{ - Wrapped<String?>? name,
- Wrapped<String?>? icon,
- Wrapped<String?>? description,
- Wrapped<String?>? logo,
- Wrapped<List<String>?>? images,
- Wrapped<String?>? id,
- Wrapped<String>? $id,
- Wrapped<int?>? cstamp,
- Wrapped<String?>? cby,
- Wrapped<String?>? uby,
- Wrapped<int?>? ustamp,
})
Implementation
BaseEntity copyWithWrapped(
{Wrapped<String?>? name,
Wrapped<String?>? icon,
Wrapped<String?>? description,
Wrapped<String?>? logo,
Wrapped<List<String>?>? images,
Wrapped<String?>? id,
Wrapped<String>? $id,
Wrapped<int?>? cstamp,
Wrapped<String?>? cby,
Wrapped<String?>? uby,
Wrapped<int?>? ustamp}) {
return BaseEntity(
name: (name != null ? name.value : this.name),
icon: (icon != null ? icon.value : this.icon),
description:
(description != null ? description.value : this.description),
logo: (logo != null ? logo.value : this.logo),
images: (images != null ? images.value : this.images),
id: (id != null ? id.value : this.id),
$id: ($id != null ? $id.value : this.$id),
cstamp: (cstamp != null ? cstamp.value : this.cstamp),
cby: (cby != null ? cby.value : this.cby),
uby: (uby != null ? uby.value : this.uby),
ustamp: (ustamp != null ? ustamp.value : this.ustamp));
}