OpenIdIdentity.fromAuthorizationResponse constructor Null safety

OpenIdIdentity.fromAuthorizationResponse(
  1. AuthorizationResponse response
)

Implementation

factory OpenIdIdentity.fromAuthorizationResponse(
        AuthorizationResponse response) =>
    OpenIdIdentity(
      accessToken: response.accessToken,
      expiresAt: response.expiresAt,
      idToken: response.idToken,
      tokenType: response.tokenType,
      refreshToken: response.refreshToken,
      state: response.state,
    );