UserProfileRepositoryImpl class
Implementation of UserProfileRepository using Isar database
- Implemented types
Constructors
Properties
Methods
-
deleteUserProfile(
) → Future< Either< Failure, void> > -
Deletes the user profile (for testing purposes)
override
-
getUserProfile(
) → Future< Either< Failure, UserProfile> > -
Retrieves the current user profile
Returns the profile or a Failure if it doesn't exist or there's an error
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
saveUserProfile(
UserProfile profile) → Future< Either< Failure, void> > -
Saves or updates the user profile
override
-
toString(
) → String -
A string representation of this object.
inherited
-
updateCompanyLogo(
List< int> logoBytes) → Future<Either< Failure, void> > -
Updates only the company logo
override
-
updateProfilePhoto(
List< int> photoBytes) → Future<Either< Failure, void> > -
Updates only the personal photo
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited