SettingsRepositoryImpl class
- Implemented types
Constructors
- SettingsRepositoryImpl(Isar _isar)
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
-
getAppPreferences(
) → Future< Either< Failure, AppPreferences> > -
Retrieves all app preferences
override
-
getDefaultElectricalStandard(
) → Future< Either< Failure, String> > -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
saveAppPreferences(
AppPreferences prefs) → Future< Either< Failure, void> > -
Saves all app preferences
override
-
saveOnboardingDataTransaction(
{required UserProfile profile, required OnboardingPreferences preferences}) → Future< Either< Failure, void> > -
Uses shared Isar instance for true transactional atomicity
override
-
setDefaultElectricalStandard(
String id) → Future< Either< Failure, void> > -
override
-
setLocale(
String locale) → Future< Either< Failure, void> > -
Sets the app locale (language)
override
-
setTextSize(
TextSizePreference size) → Future< Either< Failure, void> > -
Sets the text size preference
override
-
setThemeMode(
AppThemeMode mode) → Future< Either< Failure, void> > -
Sets the theme mode
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited