logUserSession static method
Log when a user signs in the app.
This event is usually triggered when:
- The user signs in
- The user signs up
This can be useful to check where the users mostly use your app.
Implementation
static Future<void> logUserSession() {
return logEvent(name: 'user_session');
}