setUser method
Set the current user.
Implementation
Future<void> setUser(SentryUser? user) async {
_setUserSync(user);
await _callScopeObservers(
(scopeObserver) async => await scopeObserver.setUser(user));
}
Set the current user.
Future<void> setUser(SentryUser? user) async {
_setUserSync(user);
await _callScopeObservers(
(scopeObserver) async => await scopeObserver.setUser(user));
}