HotRestartBypassMechanism class
This class iis basically a HotRestartBypassMechanism. the firebaseSDK went through a bunch of updates from the firebase team which fixed a few production bugs, in that process a dev bug was discovered that basically doesn't allow StreamBuilder to work properly with Flutter Web on Hot Restart hence, I had to come up with a custom solution to fix it.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
getLoginStatus(
) → Future< bool> - Gets the login status from SharedPreferences
-
saveLoginState(
bool isLoggedIn) → dynamic - Saves the Login State (true) for LoggedIn and (false) for LoggedOut