From c5be8673a1bdba161be981b9ec141d33ec5636b8 Mon Sep 17 00:00:00 2001 From: naipaka Date: Sun, 12 Nov 2023 15:50:02 +0900 Subject: [PATCH] feat: Add late keyword to userChanges stream --- packages/flutterfire_authenticator/lib/src/authenticator.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/flutterfire_authenticator/lib/src/authenticator.dart b/packages/flutterfire_authenticator/lib/src/authenticator.dart index b14dce0..112d565 100644 --- a/packages/flutterfire_authenticator/lib/src/authenticator.dart +++ b/packages/flutterfire_authenticator/lib/src/authenticator.dart @@ -30,7 +30,7 @@ class Authenticator { User? get user => _auth.currentUser; /// Listens for changes to the currently signed-in user. - Stream get userChanges => _auth.userChanges(); + late final Stream userChanges = _auth.userChanges(); /// 現ユーザーのJWT(JSON Web Token)を非同期で取得する。 /// 未サインイン時など、現ユーザーが存在しない場合はnullを返す。