copyWithWrapped method
Device
copyWithWrapped({
- Wrapped<
String> ? modelId, - Wrapped<
List< ? tags,String> ?> - 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
Device copyWithWrapped(
{Wrapped<String>? modelId,
Wrapped<List<String>?>? tags,
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 Device(
modelId: (modelId != null ? modelId.value : this.modelId),
tags: (tags != null ? tags.value : this.tags),
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));
}