AuthenticationState.authenticated constructor Null safety
- User user
Create a new AuthenticationState for an authenticated user.
Implementation
const AuthenticationState.authenticated(this.user)
    : status = AuthenticationStatus.authenticated;Create a new AuthenticationState for an authenticated user.
const AuthenticationState.authenticated(this.user)
    : status = AuthenticationStatus.authenticated;