copyWithWrapped method

Implementation

ScreeningHitData copyWithWrapped(
    {Wrapped<List<ScreeningHitDateOfBirthItem>?>? datesOfBirth,
    Wrapped<List<ScreeningHitDocumentsItems>?>? documents,
    Wrapped<List<GenericScreeningHitLocationItems>?>? locations,
    Wrapped<List<ScreeningHitNamesItems>?>? names}) {
  return ScreeningHitData(
      datesOfBirth:
          (datesOfBirth != null ? datesOfBirth.value : this.datesOfBirth),
      documents: (documents != null ? documents.value : this.documents),
      locations: (locations != null ? locations.value : this.locations),
      names: (names != null ? names.value : this.names));
}