currentUser property

Future<AuthUser> currentUser

Get the user's current information.

This does not update user.

Implementation

Future<AuthUser> get currentUser async {
  final userInfo = await Oauth2Api(client).userinfo.v2.me.get();
  return userInfo.asAuthUser;
}