copyWithWrapped method
KYCCheckDetails
copyWithWrapped({
- Wrapped<
String> ? status, - Wrapped<
KYCCheckAddressSummary> ? address, - Wrapped<
KYCCheckNameSummary> ? name, - Wrapped<
KYCCheckDateOfBirthSummary> ? dateOfBirth, - Wrapped<
KYCCheckIDNumberSummary> ? idNumber, - Wrapped<
KYCCheckPhoneSummary> ? phoneNumber,
Implementation
KYCCheckDetails copyWithWrapped(
{Wrapped<String>? status,
Wrapped<KYCCheckAddressSummary>? address,
Wrapped<KYCCheckNameSummary>? name,
Wrapped<KYCCheckDateOfBirthSummary>? dateOfBirth,
Wrapped<KYCCheckIDNumberSummary>? idNumber,
Wrapped<KYCCheckPhoneSummary>? phoneNumber}) {
return KYCCheckDetails(
status: (status != null ? status.value : this.status),
address: (address != null ? address.value : this.address),
name: (name != null ? name.value : this.name),
dateOfBirth:
(dateOfBirth != null ? dateOfBirth.value : this.dateOfBirth),
idNumber: (idNumber != null ? idNumber.value : this.idNumber),
phoneNumber:
(phoneNumber != null ? phoneNumber.value : this.phoneNumber));
}