addCreditsAsync method
Implementation
Future<SubscriptionModel> addCreditsAsync(String id, int quantity) async {
var result = await apiResource.post(partOfUrl: "/$id/add_credits/$quantity");
return SubscriptionModel.fromMap(result);
}
Future<SubscriptionModel> addCreditsAsync(String id, int quantity) async {
var result = await apiResource.post(partOfUrl: "/$id/add_credits/$quantity");
return SubscriptionModel.fromMap(result);
}