OAuth2Token constructor

OAuth2Token({
  1. required String accessToken,
  2. required String refreshToken,
  3. required DateTime expiresAt,
  4. String tokenType = 'Bearer',
  5. String? scope,
})

Creates an OAuth2Token.

Implementation

OAuth2Token({
  required this.accessToken,
  required this.refreshToken,
  required this.expiresAt,
  this.tokenType = 'Bearer',
  this.scope,
});