SettingsRepository class abstract
- Implementers
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
-
getAppPreferences(
) → Future< Either< Failure, AppPreferences> > - Retrieves all app preferences
-
getDefaultElectricalStandard(
) → Future< Either< Failure, String> > -
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
-
saveOnboardingDataTransaction(
{required UserProfile profile, required OnboardingPreferences preferences}) → Future< Either< Failure, void> > - Uses shared Isar instance for true transactional atomicity
-
setDefaultElectricalStandard(
String id) → Future< Either< Failure, void> > -
setLocale(
String locale) → Future< Either< Failure, void> > - Sets the app locale (language)
-
setTextSize(
TextSizePreference size) → Future< Either< Failure, void> > - Sets the text size preference
-
setThemeMode(
AppThemeMode mode) → Future< Either< Failure, void> > - Sets the theme mode
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited