copyWith method
ScreeningHitData
copyWith({
- List<
ScreeningHitDateOfBirthItem> ? datesOfBirth, - List<
ScreeningHitDocumentsItems> ? documents, - List<
GenericScreeningHitLocationItems> ? locations, - List<
ScreeningHitNamesItems> ? names,
Implementation
ScreeningHitData copyWith(
{List<ScreeningHitDateOfBirthItem>? datesOfBirth,
List<ScreeningHitDocumentsItems>? documents,
List<GenericScreeningHitLocationItems>? locations,
List<ScreeningHitNamesItems>? names}) {
return ScreeningHitData(
datesOfBirth: datesOfBirth ?? this.datesOfBirth,
documents: documents ?? this.documents,
locations: locations ?? this.locations,
names: names ?? this.names);
}