getUserProfile abstract method

Future<Either<Failure, UserProfile>> getUserProfile()

Retrieves the current user profile Returns the profile or a Failure if it doesn't exist or there's an error

Implementation

Future<Either<Failure, UserProfile>> getUserProfile();