credential method
Create a new OAuthCredential from a provided accessToken
;
Implementation
OAuthCredential credential({
String? accessToken,
String? secret,
String? idToken,
String? rawNonce,
String? signInMethod,
}) {
return OAuthCredential(
providerId: providerId,
signInMethod: signInMethod ?? 'oauth',
accessToken: accessToken,
secret: secret,
idToken: idToken,
rawNonce: rawNonce,
);
}