mirror of
https://gitlab.com/veilid/veilidchat.git
synced 2025-07-21 13:48:43 -04:00
clean up context locators
This commit is contained in:
parent
751022e743
commit
2ccad50f9a
31 changed files with 603 additions and 542 deletions
|
@ -1,3 +1,4 @@
|
|||
import 'package:equatable/equatable.dart';
|
||||
import 'package:meta/meta.dart';
|
||||
|
||||
import 'unlocked_account_info.dart';
|
||||
|
@ -10,7 +11,7 @@ enum AccountInfoStatus {
|
|||
}
|
||||
|
||||
@immutable
|
||||
class AccountInfo {
|
||||
class AccountInfo extends Equatable {
|
||||
const AccountInfo({
|
||||
required this.status,
|
||||
required this.active,
|
||||
|
@ -20,4 +21,7 @@ class AccountInfo {
|
|||
final AccountInfoStatus status;
|
||||
final bool active;
|
||||
final UnlockedAccountInfo? unlockedAccountInfo;
|
||||
|
||||
@override
|
||||
List<Object?> get props => [status, active, unlockedAccountInfo];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue