credential static method
Create a new TwitterAuthCredential from a provided accessToken
and
secret
;
Implementation
static OAuthCredential credential({
required String accessToken,
required String secret,
}) {
return TwitterAuthCredential._credential(
accessToken: accessToken,
secret: secret,
);
}