copyWith method
IdentityVerificationUserData
copyWith({
- String? phoneNumber,
- String? dateOfBirth,
- String? ipAddress,
- String? emailAddress,
- UserName? name,
- IdentityVerificationUserAddress? address,
- UserIDNumber? idNumber,
Implementation
IdentityVerificationUserData copyWith(
{String? phoneNumber,
String? dateOfBirth,
String? ipAddress,
String? emailAddress,
UserName? name,
IdentityVerificationUserAddress? address,
UserIDNumber? idNumber}) {
return IdentityVerificationUserData(
phoneNumber: phoneNumber ?? this.phoneNumber,
dateOfBirth: dateOfBirth ?? this.dateOfBirth,
ipAddress: ipAddress ?? this.ipAddress,
emailAddress: emailAddress ?? this.emailAddress,
name: name ?? this.name,
address: address ?? this.address,
idNumber: idNumber ?? this.idNumber);
}