OAuthGenerator class Null safety

Implemented types

Constructors

OAuthGenerator({required OAuthCredentials oauthCredentials, required Dio dio})
OAuthGenerator.fromYamlCredentials({required String credentialsFile, required Dio dio})
factory

Properties

dio Dio
final
hashCode int
The hash code for this object. [...]
read-only, inherited
oauthCredentials OAuthCredentials
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

generate() Future<Token>
generate and persist the OAuth2 refresh token from a single use auth code
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited