AuthenticationState.authenticated constructor Null safety

const AuthenticationState.authenticated(
  1. User user
)

Create a new AuthenticationState for an authenticated user.

Implementation

const AuthenticationState.authenticated(this.user)
    : status = AuthenticationStatus.authenticated;