copyWithWrapped method
SignalUser
copyWithWrapped({
- Wrapped<
SignalPersonName?> ? name, - Wrapped<
String?> ? phoneNumber, - Wrapped<
String?> ? emailAddress, - Wrapped<
SignalAddressData?> ? address,
Implementation
SignalUser copyWithWrapped(
{Wrapped<SignalPersonName?>? name,
Wrapped<String?>? phoneNumber,
Wrapped<String?>? emailAddress,
Wrapped<SignalAddressData?>? address}) {
return SignalUser(
name: (name != null ? name.value : this.name),
phoneNumber:
(phoneNumber != null ? phoneNumber.value : this.phoneNumber),
emailAddress:
(emailAddress != null ? emailAddress.value : this.emailAddress),
address: (address != null ? address.value : this.address));
}