copyWithWrapped method

CreditDocumentMetadata copyWithWrapped({
  1. Wrapped<String>? name,
  2. Wrapped<String?>? documentType,
  3. Wrapped<String?>? downloadUrl,
  4. Wrapped<String?>? status,
})

Implementation

CreditDocumentMetadata copyWithWrapped(
    {Wrapped<String>? name,
    Wrapped<String?>? documentType,
    Wrapped<String?>? downloadUrl,
    Wrapped<String?>? status}) {
  return CreditDocumentMetadata(
      name: (name != null ? name.value : this.name),
      documentType:
          (documentType != null ? documentType.value : this.documentType),
      downloadUrl:
          (downloadUrl != null ? downloadUrl.value : this.downloadUrl),
      status: (status != null ? status.value : this.status));
}