deleteSlotMapping method

  1. @override
Future<void> deleteSlotMapping({
  1. required String token,
  2. required int mappingId,
})
override

Deletes the mapping with mappingId.

Implementation

@override
Future<void> deleteSlotMapping({required String token, required int mappingId}) async {
  log('Deleting slot mapping $mappingId');

  await api.callFunction(
    function: 'local_lbplanner_slots_delete_slot_filter',
    body: {
      'filterid': mappingId,
    },
    token: token,
  );
}