Skip to content

Commit 75fcf7a

Browse files
committed
feat: Add AppUserAccountActionShown event
- Tracks account action shown - Updates user timestamp
1 parent 50285ef commit 75fcf7a

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

lib/app/bloc/app_event.dart

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,3 +99,17 @@ class _AppConfigFetchRequested extends AppEvent {
9999
/// {@macro _app_config_fetch_requested}
100100
const _AppConfigFetchRequested();
101101
}
102+
103+
/// {@template app_user_account_action_shown}
104+
/// Event triggered when an AccountAction has been shown to the user,
105+
/// prompting an update to their `lastAccountActionShownAt` timestamp.
106+
/// {@endtemplate}
107+
class AppUserAccountActionShown extends AppEvent {
108+
/// {@macro app_user_account_action_shown}
109+
const AppUserAccountActionShown({required this.userId});
110+
111+
final String userId;
112+
113+
@override
114+
List<Object> get props => [userId];
115+
}

0 commit comments

Comments
 (0)