exampleUserContext function

void exampleUserContext()

Wiring user context from auth-lifecycle callbacks (any reporter that overrides setUser/clearUser):

Implementation

void exampleUserContext() {
  /*
  final reporter = GetIt.I<ErrorReporter>(); // or your own reference
  authService.addOnAuthenticatedCallback((uid) async {
    if (uid != null) reporter.setUser(uid);
  });
  authService.addOnLoggedOutCallback(() async => reporter.clearUser());
  */
}