deleteSlot method
override
Deletes the slot with slotId
.
Implementation
@override
Future<void> deleteSlot({required String token, required int slotId}) async {
log('Deleting slot $slotId');
await api.callFunction(
function: 'local_lbplanner_slots_delete_slot',
body: {
'slotid': slotId,
},
token: token,
);
}