userProfileProvider top-level property
final
Provides the current user's profile.
Returns null if not logged in. Automatically fetches full profile if stale.
Implementation
final userProfileProvider = FutureProvider.autoDispose<User?>((ref) {
return ref.watch(authRepositoryProvider).getUser();
});