The name of the property to add.
The initial value of the property.
GPT Context: This function allows adding a new observable property to the store dynamically, along with its getter and setter.
Resets the user store.
GPT Context: This method resets the user store by clearing the user and userInfo objects, effectively logging out the user.
Deletes the user's account.
GPT Context: This method deletes the user's account, clears the user and userInfo objects in the store, and resets the device and group stores.
Initiates the account deletion process.
GPT Context: This method initiates the account deletion process by calling the deleteAccount method and handling any necessary pre-deletion logic.
Logs out the user.
GPT Context: This method logs out the user, clearing the user and userInfo objects in the store.
Sets the user information in the store.
This method sets the user information in the store, which can be used to track the currently logged-in user's information.
The user information to set.
Sets the user instance.
The user instance to be set.
GPT Context: This method sets the user instance in the store and fetches the user information associated with the user instance.
Dynamically adds an observable property to the store.