activatePlan method

Future<void> activatePlan(
  1. String planId
)

Activates a plan.

Parameter planId: The ID of the plan.

Implementation

Future<void> activatePlan(String planId) async {
  var url = _payPalHttpClient.getUrl('/v1/billing/plans/$planId/activate');
  await _payPalHttpClient.post(url);
}