userProvider top-level property

StateNotifierProvider<UserProvider, User?> userProvider
final

Implementation

final userProvider =
    StateNotifierProvider<UserProvider, User?>((ref) => UserProvider(ref));