Skip to content

Commit

Permalink
feat: Add late keyword to userChanges stream
Browse files Browse the repository at this point in the history
  • Loading branch information
naipaka committed Nov 12, 2023
1 parent 88521ea commit c5be867
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class Authenticator {
User? get user => _auth.currentUser;

/// Listens for changes to the currently signed-in user.
Stream<User?> get userChanges => _auth.userChanges();
late final Stream<User?> userChanges = _auth.userChanges();

/// 現ユーザーのJWT(JSON Web Token)を非同期で取得する。
/// 未サインイン時など、現ユーザーが存在しない場合はnullを返す。
Expand Down

0 comments on commit c5be867

Please sign in to comment.