UserProfileService class

Service for managing user profiles in the POD following the ontology structure.

Constructors

UserProfileService.new(BuildContext _context, Widget _child)

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

addMovieListToProfile(String movieListId) Future<bool>
Adds a movie list ID to the user profile.
clearCache() → void
Clears the cached profile data.
createOrUpdateUserProfile({String? apiKey, String? dobString, String? genderString, List<String>? movieListIds}) Future<bool>
Creates or updates the user profile following the ontology structure.
getCurrentUserWebId() Future<String?>
Gets the current user's web ID.
getUserProfile() Future<Map<String, dynamic>?>
Gets the user profile data.
initializeProfileIfNeeded() Future<bool>
Initializes the user profile if it doesn't exist.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeMovieListFromProfile(String movieListId) Future<bool>
Removes a movie list ID from the user profile.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited