DropboxApi constructor

DropboxApi(
  1. String identifier,
  2. String clientId,
  3. String clientSecret,
  4. String redirectUrl, {
  5. List<String>? scopes,
  6. Client? client,
  7. Converter? converter,
  8. AuthStorage? authStorage,
})

Implementation

DropboxApi(String identifier, String clientId, String clientSecret,
    String redirectUrl,
    {List<String>? scopes,
    http.Client? client,
    Converter? converter,
    AuthStorage? authStorage})
    : super.fromIdAndSecret(identifier, clientId, clientSecret,
          client: client,
          scopes: scopes,
          converter: converter,
          authStorage: authStorage) {
  this.scopesRequired = false;
  this.tokenUrl = "https://api.dropbox.com/oauth2/token";
  this.baseUrl = "https://api.dropbox.com";
  this.authorizationUrl = "https://www.dropbox.com/oauth2/authorize";
  this.redirectUrl = redirectUrl;
}