copyWithWrapped method
Contact
copyWithWrapped(
{ - Wrapped<String?>? firstName,
- Wrapped<String?>? lastName,
- Wrapped<String?>? email,
- Wrapped<String?>? phone,
- Wrapped<String?>? address,
- Wrapped<String?>? icon,
- Wrapped<String?>? id,
- Wrapped<String?>? $id,
- Wrapped<int?>? cstamp,
- Wrapped<String?>? cby,
- Wrapped<String?>? uby,
- Wrapped<int?>? ustamp,
})
Implementation
Contact copyWithWrapped(
{Wrapped<String?>? firstName,
Wrapped<String?>? lastName,
Wrapped<String?>? email,
Wrapped<String?>? phone,
Wrapped<String?>? address,
Wrapped<String?>? icon,
Wrapped<String?>? id,
Wrapped<String?>? $id,
Wrapped<int?>? cstamp,
Wrapped<String?>? cby,
Wrapped<String?>? uby,
Wrapped<int?>? ustamp}) {
return Contact(
firstName: (firstName != null ? firstName.value : this.firstName),
lastName: (lastName != null ? lastName.value : this.lastName),
email: (email != null ? email.value : this.email),
phone: (phone != null ? phone.value : this.phone),
address: (address != null ? address.value : this.address),
icon: (icon != null ? icon.value : this.icon),
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));
}