initWithCredentials static method

PlanningCenter initWithCredentials(
  1. String clientId,
  2. String clientSecret,
  3. PlanningCenterCredentials credentials
)

initialize with an already configured client.

This method is usually used with an oauth2.Client instance such as with the oauth2 package, but it may be any object that supports the same interface as http.Client

Implementation

static PlanningCenter initWithCredentials(
  String clientId,
  String clientSecret,
  PlanningCenterCredentials credentials,
) =>
    instance =
        PlanningCenter._withCredentials(clientId, clientSecret, credentials);