getUserInfo method

Future<UserInfo?> getUserInfo()

Gets the UserInfo for a signed in user, or null if the user is currently not signed in with the server.

Implementation

_i2.Future<_i3.UserInfo?> getUserInfo() =>
    caller.callServerEndpoint<_i3.UserInfo?>(
      'serverpod_auth.status',
      'getUserInfo',
      {},
    );