AccessTokenValue constructor

const AccessTokenValue({
  1. required String token,
  2. DateTime? expirationTime,
})

Returns the result of an access token.

Returns the actual token to token.

Set the expiration time of the token to expirationTime.

アクセストークンの結果を返します。

tokenに実際のトークンを設定します。

expirationTimeにトークンの有効期限を設定します。

Implementation

const AccessTokenValue({
  required this.token,
  this.expirationTime,
});