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