copyWith method
SignalUser
copyWith({
- SignalPersonName? name,
- String? phoneNumber,
- String? emailAddress,
- SignalAddressData? address,
Implementation
SignalUser copyWith(
{SignalPersonName? name,
String? phoneNumber,
String? emailAddress,
SignalAddressData? address}) {
return SignalUser(
name: name ?? this.name,
phoneNumber: phoneNumber ?? this.phoneNumber,
emailAddress: emailAddress ?? this.emailAddress,
address: address ?? this.address);
}