performDelete method

Future<void> performDelete(
  1. String endpoint,
  2. JsonApiDocument jsonApiDoc
)

Implementation

Future<void> performDelete(
  String endpoint,
  JsonApiDocument jsonApiDoc,
) async {
  final response = await httpDelete("$apiPath/$endpoint/${jsonApiDoc.id}");
  checkAndDecode(response);
}