AuthenticationState.authenticated constructor Null safety

const AuthenticationState.authenticated(
  1. User user
)

The state which indicates that the user is current authenticated.

Implementation

const AuthenticationState.authenticated(User user)
    : this._(status: AuthenticationStatus.authenticated, user: user);