User Repository
class UserRepository
Handles the data in the Firestore database for the User class.
Properties
Functions
Link copied to clipboard
Deletes a user from the Firestore database.
Link copied to clipboard
getCachedUser gets users saved in the cache instead of going through db read again.
Link copied to clipboard
Refreshes cached users from Firestore.
Link copied to clipboard
Changes the user's notification setting to on or off.
Link copied to clipboard
Saves user data to Firestore, creating the document if absent.