delete method

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

Implementation

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