user method

User? user()

Returns the user data, if there is a logged in user.

Implementation

User? user() {
  return currentUser;
}