copyWith method
KYCCheckDetails
copyWith({
- String? status,
- KYCCheckAddressSummary? address,
- KYCCheckNameSummary? name,
- KYCCheckDateOfBirthSummary? dateOfBirth,
- KYCCheckIDNumberSummary? idNumber,
- KYCCheckPhoneSummary? phoneNumber,
Implementation
KYCCheckDetails copyWith(
{String? status,
KYCCheckAddressSummary? address,
KYCCheckNameSummary? name,
KYCCheckDateOfBirthSummary? dateOfBirth,
KYCCheckIDNumberSummary? idNumber,
KYCCheckPhoneSummary? phoneNumber}) {
return KYCCheckDetails(
status: status ?? this.status,
address: address ?? this.address,
name: name ?? this.name,
dateOfBirth: dateOfBirth ?? this.dateOfBirth,
idNumber: idNumber ?? this.idNumber,
phoneNumber: phoneNumber ?? this.phoneNumber);
}