delete method

Future<SubscriptionModel> delete({
  1. required String id,
  2. String customApiToken = '',
})

Implementation

Future<SubscriptionModel> delete({required String id, String customApiToken = ''}) async {
  var result = await apiResource.delete(id: id, apiUserToken: customApiToken);
  return SubscriptionModel.fromMap(result);
}