loggedIn property
AuthUserProfile?
get
loggedIn
Implementation
AuthUserProfile? get loggedIn => _loggedIn;
set
loggedIn
(AuthUserProfile? loggedIn)
Implementation
set loggedIn(AuthUserProfile? loggedIn) {
log.info(loggedIn == null
? "[loggedIn=null]"
: "[loggedIn=${loggedIn.fbUser != null},profile=${loggedIn.profile != null}]");
if (_loggedIn == loggedIn &&
_isInitted == ((_isInitted == true) || loggedIn != null)) {
return;
}
log.info(
"Route state login change: ${loggedIn?.fbUser?.displayName ?? loggedIn?.fbUser?.email ?? 'None'}");
_isInitted = (_isInitted == true) || loggedIn != null;
_loggedIn = loggedIn;
notifyWithLimit();
}