LoggedInUser constructor

LoggedInUser({
  1. required LocalityUser user,
  2. required AccessToken accessToken,
  3. required String privateKey,
})

Creates a new instance of LoggedInUser with the provided user details.

  • user: The LocalityUser object containing the user's information.
  • accessToken: The token used for authentication.
  • privateKey: The private key associated with the user.

Implementation

LoggedInUser({
  required this.user,
  required this.accessToken,
  required this.privateKey,
});