userId property

UserId userId

A string value used as a key for storing current user's preferences. Enables multiple users to use the app on the same device, while preserving unique pin values and preferences of the users regardless of logging in and out. If the app is expected to be used by only one user (i.e., there is no login/logout functionality) this value can be hardcoded (UserId('1'))

Implementation

UserId get userId;