userTokenProvider top-level property

AsyncNotifierProviderImpl<UserTokenState, UserToken> userTokenProvider
final

Provides the current UserToken

If you want to log the user in or out, see userTokenController.

Implementation

final userTokenProvider =
    AsyncNotifierProvider<UserTokenState, UserToken>(() => UserTokenState());