credential method Null safety

OAuthCredential credential(
  1. String accessToken
)

Create a new FacebookAuthCredential from a provided accessToken;

Implementation

static OAuthCredential credential(String accessToken) {
  return FacebookAuthCredential._credential(
    accessToken,
  );
}