currentUser property

  1. @override
Stream<AuthUser<OAuthToken>?> currentUser
latefinal

Stream that must emit the current user, or null if there is no current user.

The stream must appear 'cold', meaning it connects to the underlying persistence layer and emits a value upon subscription.

Implementation

@override
late final Stream<AuthUser<OAuthToken>?> currentUser =
    currentUserPref.map(_userStringToUser);