Authenticated.fromResponse constructor

Authenticated.fromResponse(
  1. Response<AuthenticationResponse> response
)

Implementation

Authenticated.fromResponse(Response<AuthenticationResponse> response)
    : token = response.value!.token,
      userInfo = response.value!.userInfo,
      tokenExpireDate = response.value!.tokenExpireDate;