copyWith method

Scopes copyWith({
  1. ProductAccess? productAccess,
  2. List<AccountAccess>? accounts,
  3. bool? newAccounts,
})

Implementation

Scopes copyWith(
    {ProductAccess? productAccess,
    List<AccountAccess>? accounts,
    bool? newAccounts}) {
  return Scopes(
      productAccess: productAccess ?? this.productAccess,
      accounts: accounts ?? this.accounts,
      newAccounts: newAccounts ?? this.newAccounts);
}