userInfo method
Returns the user information for the currently authenticated user.
Returns:
A Future<CurrentUser> representing the current Passage user's info,
or null if the current Passage user's authentication token could not be validated.
Implementation
Future<CurrentUser> userInfo() {
return PassageFlutterPlatform.instance.getCurrentUser();
}