copyWithWrapped method
Party
copyWithWrapped({
- Wrapped<
PartyIndividual> ? individual, - Wrapped<
Roles> ? roles, - Wrapped<
TaxpayerIdentifiers> ? taxpayeridentifiers,
Implementation
Party copyWithWrapped(
{Wrapped<PartyIndividual>? individual,
Wrapped<Roles>? roles,
Wrapped<TaxpayerIdentifiers>? taxpayeridentifiers}) {
return Party(
individual: (individual != null ? individual.value : this.individual),
roles: (roles != null ? roles.value : this.roles),
taxpayeridentifiers: (taxpayeridentifiers != null
? taxpayeridentifiers.value
: this.taxpayeridentifiers));
}