copyWith method
Implementation
CreditDocumentMetadata copyWith(
{String? name,
String? documentType,
String? downloadUrl,
String? status}) {
return CreditDocumentMetadata(
name: name ?? this.name,
documentType: documentType ?? this.documentType,
downloadUrl: downloadUrl ?? this.downloadUrl,
status: status ?? this.status);
}