copyWith method

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

Implementation

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