UserProfileRepositoryImpl class

Implementation of UserProfileRepository using Isar database

Implemented types

Constructors

UserProfileRepositoryImpl(Isar isar)

Properties

hashCode int
The hash code for this object.
no setterinherited
isar Isar
final
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)
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
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