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