copyWithWrapped method

Implementation

EntityScreeningHitData copyWithWrapped(
    {Wrapped<List<EntityScreeningHitDocumentsItems>?>? documents,
    Wrapped<List<EntityScreeningHitEmailsItems>?>? emailAddresses,
    Wrapped<List<GenericScreeningHitLocationItems>?>? locations,
    Wrapped<List<EntityScreeningHitNamesItems>?>? names,
    Wrapped<List<EntityScreeningHitsPhoneNumberItems>?>? phoneNumbers,
    Wrapped<List<EntityScreeningHitUrlsItems>?>? urls}) {
  return EntityScreeningHitData(
      documents: (documents != null ? documents.value : this.documents),
      emailAddresses: (emailAddresses != null
          ? emailAddresses.value
          : this.emailAddresses),
      locations: (locations != null ? locations.value : this.locations),
      names: (names != null ? names.value : this.names),
      phoneNumbers:
          (phoneNumbers != null ? phoneNumbers.value : this.phoneNumbers),
      urls: (urls != null ? urls.value : this.urls));
}