currentUser static method

User currentUser()

Implementation

static User currentUser() {
  if (_currentUser.id.isNotEmpty) {
    return _currentUser;
  }
  return User();
}