copyWith method

ProductAccess copyWith({
  1. bool? statements,
  2. bool? identity,
  3. bool? auth,
  4. bool? transactions,
  5. bool? accountsDetailsTransactions,
  6. bool? accountsRoutingNumber,
  7. bool? accountsStatements,
  8. bool? accountsTaxStatements,
  9. bool? customersProfiles,
})

Implementation

ProductAccess copyWith(
    {bool? statements,
    bool? identity,
    bool? auth,
    bool? transactions,
    bool? accountsDetailsTransactions,
    bool? accountsRoutingNumber,
    bool? accountsStatements,
    bool? accountsTaxStatements,
    bool? customersProfiles}) {
  return ProductAccess(
      statements: statements ?? this.statements,
      identity: identity ?? this.identity,
      auth: auth ?? this.auth,
      transactions: transactions ?? this.transactions,
      accountsDetailsTransactions:
          accountsDetailsTransactions ?? this.accountsDetailsTransactions,
      accountsRoutingNumber:
          accountsRoutingNumber ?? this.accountsRoutingNumber,
      accountsStatements: accountsStatements ?? this.accountsStatements,
      accountsTaxStatements:
          accountsTaxStatements ?? this.accountsTaxStatements,
      customersProfiles: customersProfiles ?? this.customersProfiles);
}