deleteSegment method

Future<void> deleteSegment(
  1. int pageId,
  2. int position
)

Deletes the given segment

Implementation

Future<void> deleteSegment(int pageId, int position) async {
  await _delete('/api/segment-page/$pageId/segment/$position');
}