makeFromAccessToken static method

Future<SkiaPerfDestination> makeFromAccessToken(
  1. String token,
  2. String projectId, {
  3. bool isTesting = false,
})

Create from an access token and its project id.

Implementation

static Future<SkiaPerfDestination> makeFromAccessToken(
    String token, String projectId,
    {bool isTesting = false}) async {
  final AuthClient client = authClientFromAccessToken(token, Storage.SCOPES);
  return make(client, projectId, isTesting: isTesting);
}