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を返す。