copyWithWrapped method
InstitutionStatus
copyWithWrapped({
- Wrapped<
ProductStatus?> ? itemLogins, - Wrapped<
ProductStatus?> ? transactionsUpdates, - Wrapped<
ProductStatus?> ? auth, - Wrapped<
ProductStatus?> ? identity, - Wrapped<
ProductStatus?> ? investmentsUpdates, - Wrapped<
ProductStatus?> ? liabilitiesUpdates, - Wrapped<
ProductStatus?> ? liabilities, - Wrapped<
ProductStatus?> ? investments, - Wrapped<
List< ? healthIncidents,HealthIncident> ?>
Implementation
InstitutionStatus copyWithWrapped(
{Wrapped<ProductStatus?>? itemLogins,
Wrapped<ProductStatus?>? transactionsUpdates,
Wrapped<ProductStatus?>? auth,
Wrapped<ProductStatus?>? identity,
Wrapped<ProductStatus?>? investmentsUpdates,
Wrapped<ProductStatus?>? liabilitiesUpdates,
Wrapped<ProductStatus?>? liabilities,
Wrapped<ProductStatus?>? investments,
Wrapped<List<HealthIncident>?>? healthIncidents}) {
return InstitutionStatus(
itemLogins: (itemLogins != null ? itemLogins.value : this.itemLogins),
transactionsUpdates: (transactionsUpdates != null
? transactionsUpdates.value
: this.transactionsUpdates),
auth: (auth != null ? auth.value : this.auth),
identity: (identity != null ? identity.value : this.identity),
investmentsUpdates: (investmentsUpdates != null
? investmentsUpdates.value
: this.investmentsUpdates),
liabilitiesUpdates: (liabilitiesUpdates != null
? liabilitiesUpdates.value
: this.liabilitiesUpdates),
liabilities:
(liabilities != null ? liabilities.value : this.liabilities),
investments:
(investments != null ? investments.value : this.investments),
healthIncidents: (healthIncidents != null
? healthIncidents.value
: this.healthIncidents));
}