19 lines
371 B
Dart
19 lines
371 B
Dart
part of 'account_bloc.dart';
|
|
|
|
final class AccountState extends Equatable {
|
|
final Set<String> subAccounts;
|
|
|
|
const AccountState({
|
|
this.subAccounts = const {},
|
|
});
|
|
|
|
AccountState copyWith(Set<String>? subAccounts) {
|
|
return AccountState(
|
|
subAccounts: subAccounts ?? this.subAccounts,
|
|
);
|
|
}
|
|
|
|
@override
|
|
List<Object?> get props => [subAccounts];
|
|
}
|