copyWith method
AssetModel
copyWith(
{ - String? website,
- String? wikiLink,
- String? id,
- String? $id,
- int? cstamp,
- String? cby,
- String? uby,
- int? ustamp,
- String? name,
- String? icon,
- String? description,
- String? logo,
- List<String>? images,
})
Implementation
AssetModel copyWith(
{String? website,
String? wikiLink,
String? id,
String? $id,
int? cstamp,
String? cby,
String? uby,
int? ustamp,
String? name,
String? icon,
String? description,
String? logo,
List<String>? images}) {
return AssetModel(
website: website ?? this.website,
wikiLink: wikiLink ?? this.wikiLink,
id: id ?? this.id,
$id: $id ?? this.$id,
cstamp: cstamp ?? this.cstamp,
cby: cby ?? this.cby,
uby: uby ?? this.uby,
ustamp: ustamp ?? this.ustamp,
name: name ?? this.name,
icon: icon ?? this.icon,
description: description ?? this.description,
logo: logo ?? this.logo,
images: images ?? this.images);
}