utils/handle_user library
Functions
-
initialUserHandler(
) → Future - This code handles the user data in the application. It checks if the required user fields (userId and sessionId) are present in the storage. If both fields are missing, it requests the user to provide both credentials. If either userId or sessionId is missing, it requests the user to provide the missing credential. After receiving the credentials, it updates the storage with the user data.