authStateChanges method

Stream<AuthUserVO?> authStateChanges()

Returns a stream of AuthUserVO objects representing the authenticated user.

Implementation

Stream<AuthUserVO?> authStateChanges() {
  return _authDataService
      .authStateChanges()
      .map((event) => event is User ? AuthUserVO.fromAuthUser(event) : null);
}