getUser abstract method

Future<User?> getUser(
  1. String userId
)

Get a User by id.

Each user is uniquely identified by a user id. The user id is a UUID. This userId is the preferred method to retrieve one specific user.

Parameters:

  • String userId (required): The UUID that identifies the user uniquely

Implementation

Future<User?> getUser(
  String userId,
);