setupClient function

void setupClient(
  1. String appKey,
  2. String appSecret,
  3. String accessToken,
  4. String tokenSecret,
)

Implementation

void setupClient(
    String appKey, String appSecret, String accessToken, String tokenSecret) {
  _clientCredentials = new ClientCredentials(appKey, appSecret);
  _credentials = new Credentials(accessToken, tokenSecret);

  _client =
  new Client(SignatureMethods.hmacSha1, _clientCredentials!, _credentials!);
}