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