activatePlan method
Implementation
Future<void> activatePlan({
required String id,
})async{
String response = await SexyAPI(
url: _url,
parameters: {},
path: "/v1/billing/plans/$id/activate",
).post(
headers: {
"Authorization" : "Bearer ${accessToken.access_token}",
"Content-Type" : "application/json",
},
body: null,
);
if(response.isNotEmpty){
throw response;
}
}