PreferencesManager class
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
-
clearAllPreferences(
) → Future< void> -
getEmail(
) → Future< String> -
getFcmToken(
) → Future< String> -
getLocalStorageResetFlag(
) → Future< bool> -
getPreferences(
) → Future< Map< String, dynamic> > -
getUserName(
) → Future< String> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
saveFcmToken(
{required String fcmToken}) → Future< void> -
savePreferences(
{required String widgetCode, required Color backgroundColor, required String appBarTitle, required Color appBarBackgroundColor, required Color appBarTitleColor, required Color appBarBackButtonColor}) → Future< void> -
setEmail(
{required String email}) → Future< void> -
setLocalStorageResetFlag(
{required bool reset}) → Future< bool> -
setUserName(
{required String username}) → Future< void> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited