UserProfileRepository class abstract
Repository interface for user profile operations
- 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
-
deleteUserProfile(
) → Future< Either< Failure, void> > - Deletes the user profile (for testing purposes)
-
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
-
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
-
toString(
) → String -
A string representation of this object.
inherited
-
updateCompanyLogo(
List< int> logoBytes) → Future<Either< Failure, void> > - Updates only the company logo
-
updateProfilePhoto(
List< int> photoBytes) → Future<Either< Failure, void> > - Updates only the personal photo
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited