activate method

Future<SubscriptionModel> activate(
  1. String id
)

Implementation

Future<SubscriptionModel> activate(String id) async {
  var result = await apiResource.post(partOfUrl: "/$id/activate");
  return SubscriptionModel.fromMap(result);
}